CN109451432B - Method for early warning based on mobile terminal position data - Google Patents
Method for early warning based on mobile terminal position data Download PDFInfo
- Publication number
- CN109451432B CN109451432B CN201811351255.7A CN201811351255A CN109451432B CN 109451432 B CN109451432 B CN 109451432B CN 201811351255 A CN201811351255 A CN 201811351255A CN 109451432 B CN109451432 B CN 109451432B
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- mobile terminals
- early warning
- users
- 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.)
- Active
Links
Images
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/021—Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
-
- 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/029—Location-based management or tracking services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/30—Services specially adapted for particular environments, situations or purposes
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention relates to a method for carrying out early warning based on position data of a mobile terminal, which comprises the following steps: step S100, acquiring the number of mobile terminals in a preset area within a preset time period according to the position data of the mobile terminals; step S200, acquiring the number of users in a preset area in a preset time period according to the number of the mobile terminals, wherein the number of the users is positively correlated with the number of the mobile terminals; and step S300, if the number of the users is larger than the early warning threshold value, outputting an early warning signal.
Description
Technical Field
The invention relates to an information processing technology, in particular to a method for processing mobile terminal information.
Background
The number of people in a certain geographical location or spatial area should be within a reasonable range, in particular not exceed a certain threshold, otherwise it is likely to cause a more prominent safety problem. In the prior art, one way is to acquire image data of people in a specific geographic location or spatial area in real time according to an image sensor, and analyze the number of people in the area according to the image data. However, this method is susceptible to factors such as illumination and occlusion, resulting in low prediction accuracy. Patent document CN105095991A discloses a method for determining parameters such as the number of current people in a preset area and the movement direction according to the number of user terminals, and then performing an early warning by combining a fixed threshold, but since the early warning condition is a fixed threshold, on one hand, the method cannot adapt to address locations or spatial areas of various types, and on the other hand, the threshold depends too much on empirical parameters, so that the application range of prediction is narrow, and the prediction accuracy is low.
Disclosure of Invention
In order to solve the technical problem, the invention discloses a method for carrying out early warning based on position data of a mobile terminal, which comprises the following steps: step S100, acquiring the number of mobile terminals in a preset area within a preset time period according to the position data of the mobile terminals; step S200, acquiring the number of users in a preset area in a preset time period according to the number of the mobile terminals, wherein the number of the users is positively correlated with the number of the mobile terminals; and step S300, if the number of the users is larger than the early warning threshold value, outputting an early warning signal.
Drawings
Fig. 1 is a flowchart of a method for performing an early warning based on mobile terminal location data according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the accompanying drawings. This description is made by way of example and not limitation to specific embodiments consistent with the principles of the invention, the description being in sufficient detail to enable those skilled in the art to practice the invention, other embodiments may be utilized and the structure of various elements may be changed and/or substituted without departing from the scope and spirit of the invention. The following detailed description is, therefore, not to be taken in a limiting sense.
The invention discloses a method for carrying out early warning based on position data of a mobile terminal, wherein the technical personnel in the field can understand that the mobile terminal can be an intelligent terminal such as a mobile phone, a PAD and the like, and the specific type of the mobile terminal does not influence the protection scope of the invention.
In addition, in the mobile terminal, an interface for acquiring the mobile terminal location information (e.g., GPS location information) is provided, and those skilled in the art can understand that the GPS location information of the mobile terminal can be acquired by calling the interface. In addition, those skilled in the art can also understand that the mobile terminal is further provided with an interface capable of acquiring WiFi information connected to the mobile terminal or connected base station number information, and a user can acquire the WiFi information connected to the mobile terminal or connected base station number information by calling the corresponding interface.
Fig. 1 is a flowchart of a method for performing an early warning based on location data of a mobile terminal according to the present invention. As shown in fig. 1, the method includes:
and S100, acquiring the number of the mobile terminals in a preset area in a preset time period according to the position data of the mobile terminals. Specifically, in this step, the unique identifier, the location data, and the reporting time of the mobile terminal are stored in the server or the database, and the number of the mobile terminals is determined according to the unique identifier, the location data, and the reporting time reported by the mobile terminal. Further, the number of the unique identifiers in the preset area in the server or the database in the preset time period is determined according to the position data and the reporting time, so that the corresponding number of the mobile terminals is obtained. The unique identifier is identification information for uniquely determining the mobile terminal, the position data is position data (accurate to meter) of a specific time point of the mobile terminal, and the reporting time is time information (accurate to second) of the unique identifier, the position data and the like reported by the mobile terminal. In one embodiment, a preprocessing process that can be understood by those skilled in the art, such as a deduplication operation, is included before the number of mobile terminals in a preset area within a preset time period is obtained according to the location data and the reporting time of the mobile terminal, so as to avoid repeatedly calculating the same mobile terminal within the preset time period.
According to the invention, the preset time period can be set in a self-defined manner, preferably, the value range of the preset time period is 5-15 minutes, and more preferably, the preset time period is 10 minutes. In the process of obtaining the number of the mobile terminals, the preset time period may be set to [02:00,02:10], [02:01,02:11], and the like, so as to obtain the number of the mobile terminals appearing in the preset area within the preset time period according to the unique identifier, the position data, and the reporting time of the mobile terminal.
According to the invention, the location data comprises any one or any combination of the following: GPS position information, WiFi fingerprint information and base station numbers. Preferably, the location data includes GPS location information, WiFi fingerprint information, and a base station number, and according to the disclosure of patent document CN104914455A, the location of the mobile terminal is corrected using the WiFi fingerprint information and the base station number, so that the number of the mobile terminals in the preset area obtained finally is more accurate.
According to the invention, the preset area may be a grid area of Q x Q, Q may be set by a user, and a value of Q may be set to 38 meters, for example, that is, a distance from each edge of the grid to a center of the grid is 19 meters. Or the preset area is a geo-fenced area, for example, when a user specifies an overseas beach area or a Hangzhou white bank area, extracting geographic boundary point coordinates of the user-specified areas to form the geo-fenced area, so as to obtain the number of mobile terminals of the specified area in a preset time period.
Step S200, acquiring the number of users in a preset area in a preset time period according to the number of the mobile terminals, wherein the number of the users is positively correlated with the number of the mobile terminals. In this step, the number of users may be set as a positive correlation function of the number of mobile terminals: g ═ f (x), where G is the number of users and x is the number of mobile terminals; preferably, G ═ a × f (x), a >0 is a function coefficient. More preferably, a is in a range of [0.95,1.5], for example, a is 1, that is, the number of mobile terminals is taken as the number of users.
And step S300, if the number of the users is larger than the early warning threshold value, outputting an early warning signal. According to the invention, the warning signal comprises any one or a combination of the following modes: the voice warning signal, the preset area marked by red, dark purple, black and the like on the display screen, the early warning message sent to a specific terminal and the like.
Preferably, the step S300 may further output the number of users, so that the thermodynamic diagram is displayed in different colors according to the number of users.
Further, the early warning threshold value k min (T)1,T2) Wherein T is1For a historical period of time t1,t2]First reference number of mobile terminals, T2As a history of timeSegment [ t ]1,t2]The first reference number T, the second reference number of the mobile terminal1And said second reference number T2And determining according to the number of the mobile terminals in each unit time in the historical time period, wherein k is a proportionality coefficient. In one embodiment, k is a fixed empirical value, e.g., k 1, or k>1. In another embodiment, k is a ratio of the total number of mobile terminals acquired in the first current time period to the total number of mobile terminals acquired in the first historical time period corresponding to the first current time period. For example, the first current time period is from 1/2017 to 31/2017/3, the first historical time period corresponding to the first current time period is from 1/2016 to 31/2016, the total number of mobile terminals acquired in the first current time period is 20 ten thousand, and the total number of mobile terminals acquired in the first historical time period is 16 ten thousand, then k is 1.25. Those skilled in the art will appreciate that the above 1 month 1 day to 3 months 31 days are only exemplary embodiments and do not mean that the historical time period and the current time period of the present invention are solidified to 1 month 1 day to 3 months 31 days.
According to the invention, said historical period of time t1,t2]Comprising m units of time [ K ]1,K2,…,Km],m>1. A first reference number T1=k1*max(N1,N2,…,Nm) In which N isiIs a unit time KiThe number of mobile terminals (i is more than or equal to 1 and less than or equal to m) appearing in the preset area. Preferably, k is1Has a value range of [0.7-0.85 ]]More preferably 0.8. A second reference number T2=NLAnd is andwherein Z1Is (N)1,N2,…,Nm) In is greater than or equal to NLNumber of elements of (2), Z2Is (N)1,N2,…,Nm) In is less than NLL is in the range of 1 to m, k2Has a value range of [0.15-0.3 ]]Preferably 0.2. K is1、k2In combination with said kThe early warning threshold value is adjusted, and the threshold value adjusting mode is more flexible.
According to the invention, the number of the users in any specified area in the preset time period is calculated by using the number of the mobile terminals, and the early warning threshold is set to be related to the first reference number and the second reference number in the historical time period, so that a more reasonable dynamic threshold can be set, the early warning method is more accurate, and the application range is wider.
Further, the unit time KiComprising n time units [ K ]i1,Ki2,…,Kin](ii) a The number N of the mobile terminalsi=max(Pi1,Pi2,…,Pin) In which P isijAnd a unit time slice KijThe number of the mobile terminals in the preset area is related to (j is more than or equal to 1 and less than or equal to n), wherein the value of n is more than or equal to 1. Preferably, the value of the unit time segment is the same as the value of the preset time segment, and P isijEqual to the fraction K per unit timeijThe number of the mobile terminals in the preset area is (1 is larger than or equal to j is smaller than or equal to n); or, the value of the unit time segment is different from the value of the preset time segment, and the P isijAnd the unit time slice KijThe number of the mobile terminals (j is more than or equal to 1 and less than or equal to n) appearing in the preset area is positively correlated.
Specifically, in the present invention, a software development kit SDK provided in the mobile terminal software APP is used to collect and upload the location data, the unique identifier, and the data reporting time of the mobile terminal. Further, the software development kit SDK uploads the collected related information according to a preset time interval, and preferably, the preset time interval is equal to a preset time period for calculating the number of the mobile terminals, so as to avoid occurrence of a repeated unique identifier of the mobile terminal within the preset time period.
Moreover, other implementations of the invention will be apparent to those skilled in the art from consideration of the specification of the invention disclosed herein. The embodiments and/or aspects of the embodiments can be used in the systems and methods of the present invention alone or in any combination. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
Claims (8)
1. A method for early warning based on position data of a mobile terminal is characterized by comprising the following steps:
step S100, acquiring the number of mobile terminals in a preset area within a preset time period according to the position data of the mobile terminals;
step S200, acquiring the number of users in a preset area in a preset time period according to the number of the mobile terminals, wherein the number of the users is positively correlated with the number of the mobile terminals;
step S300, if the number of the users is larger than an early warning threshold value, outputting an early warning signal;
the early warning threshold value k min (T)1,T2) Wherein T is1For a historical period of time t1,t2]First reference number of mobile terminals, T2For a historical period of time t1,t2]The first reference number T, the second reference number of the mobile terminal1And said second reference number T2Determining the number of the mobile terminals in each unit time in the historical time period, wherein k is a proportionality coefficient;
in particular, the historical time period [ t ]1,t2]Comprising m units of time [ K ]1,K2,…,Km],m>1,T1=k1*max(N1,N2,…,Nm),T2=NLAnd is andwherein Z is1Is (N)1,N2,…,Nm) In is greater than or equal to NLNumber of elements of (2), Z2Is (N)1,N2,…,Nm) In is less than NLNumber of elements of (1), NiIs a unit time KiThe number of mobile terminals in the preset area, i is more than or equal to 1 and less than or equal to m, the value range of L is 1 to m, k1And k2All are proportionality coefficients.
2. The method of claim 1, wherein the predetermined area is a Q x Q grid area, Q > 0; or the preset area is a geo-fenced area.
3. The method of claim 1, wherein k is k, k is a function of the location data of the mobile terminal1Has a value range of [0.7-0.85 ]]。
4. The method of claim 1, wherein k is k, k is a function of the location data of the mobile terminal2Has a value range of [0.15-0.3 ]]。
5. Method for performing early warning based on position data of mobile terminal according to claim 1 or 3, characterized in that the unit time KiComprising n time units [ K ]i1,Ki2,…,Kin]N is more than or equal to 1; the number N of the mobile terminalsi=max(Pi1,Pi2,…,Pin) In which P isijAnd a unit time slice KijThe number of the mobile terminals appearing in the preset area is related, and j is more than or equal to 1 and less than or equal to n.
6. The method for performing early warning based on mobile terminal location data according to claim 1, wherein the step S300 is further configured to output the number of users, so that a thermodynamic diagram selects different colors for displaying according to the number of users.
7. The method for performing early warning based on the position data of the mobile terminal according to claim 1, wherein the number of the mobile terminals is determined according to the unique identifier reported by the mobile terminal, the position data and the reporting time; the location data comprises any one or any combination of: GPS position information, WiFi fingerprint information and base station numbers.
8. The method for performing early warning based on the location data of the mobile terminal according to claim 7, wherein a Software Development Kit (SDK) provided in the mobile terminal software APP is used to collect and upload the location data, the unique identifier and the reporting time of the mobile terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811351255.7A CN109451432B (en) | 2018-11-14 | 2018-11-14 | Method for early warning based on mobile terminal position data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811351255.7A CN109451432B (en) | 2018-11-14 | 2018-11-14 | Method for early warning based on mobile terminal position data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109451432A CN109451432A (en) | 2019-03-08 |
CN109451432B true CN109451432B (en) | 2020-07-10 |
Family
ID=65552266
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811351255.7A Active CN109451432B (en) | 2018-11-14 | 2018-11-14 | Method for early warning based on mobile terminal position data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109451432B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110909102B (en) * | 2019-11-22 | 2023-02-28 | 腾讯科技(深圳)有限公司 | Indoor thermodynamic diagram display method and device and computer readable storage medium |
CN111372286B (en) * | 2020-03-03 | 2023-06-23 | 浙江每日互动网络科技股份有限公司 | Mobile terminal data processing method, medium and electronic equipment |
CN112888010B (en) * | 2021-01-28 | 2022-06-24 | 杭州云深科技有限公司 | Target wifi early warning system based on wifi connected device group information |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102215468A (en) * | 2010-04-02 | 2011-10-12 | 广东宜通世纪科技股份有限公司 | Crowd distribution monitoring method and system |
CN104038952B (en) * | 2014-06-25 | 2018-05-18 | 兴天通讯技术(天津)有限公司 | The Forecasting Methodology and forecasting system of accident |
CN105095991A (en) * | 2015-07-20 | 2015-11-25 | 百度在线网络技术(北京)有限公司 | Method and device for crowd risk early warning |
CN105163343B (en) * | 2015-09-21 | 2018-10-19 | 中国联合网络通信集团有限公司 | Risk judgment method and device that the crowd is dense |
CN108665096B (en) * | 2018-04-28 | 2020-04-14 | 新华三大数据技术有限公司 | People flow warning method and device |
-
2018
- 2018-11-14 CN CN201811351255.7A patent/CN109451432B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN109451432A (en) | 2019-03-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109451432B (en) | Method for early warning based on mobile terminal position data | |
US9686646B1 (en) | Integrated geospatial activity reporting | |
US8942724B2 (en) | Number of terminal estimation device and number of terminal estimation method | |
US9277431B1 (en) | System, method, and computer program for generating mobile subscriber network experience indicators based on geo-located events | |
CN114863418B (en) | Voltage-sharing field identification method and device, storage medium and terminal | |
CN109726885A (en) | Electricity consumption anomaly assessment method, apparatus, equipment and computer storage medium | |
CN110765220B (en) | Geographical position determining method based on thermodynamic diagram and electronic equipment | |
US11727419B2 (en) | Realtime busyness for places | |
KR20120047285A (en) | Position information analysis device and position information analysis mehod | |
CN109842896B (en) | Grid value evaluation method and device | |
CN111178932A (en) | User geographic portrait generation method and device, computer equipment and storage medium | |
CN111080501A (en) | Real crowd density space-time distribution estimation method based on mobile phone signaling data | |
US8600957B2 (en) | Mesh data creation method | |
EP2416290A1 (en) | Position information analysis device and position information analysis method | |
CN110895765A (en) | Offline advertisement delivery management method, device and system | |
CN109379703B (en) | Disaster area judgment method based on mobile terminal networking data | |
CN113949881B (en) | Business processing method and system based on smart city data | |
JP7272522B2 (en) | Data analysis device, data analysis system, data analysis method and data analysis program | |
CN113157214B (en) | Remote sensing image display method, device, equipment and storage medium | |
CN111372286B (en) | Mobile terminal data processing method, medium and electronic equipment | |
CN110992501B (en) | Data monitoring method, device, equipment and computer readable storage medium | |
US11689882B2 (en) | Determining exposure to an outdoor display unit | |
CN113743444A (en) | Crowd abnormity detection method and device, electronic equipment and storage medium | |
CN113128299A (en) | People flow density detection method and device, terminal equipment, server and storage medium | |
WO2016127872A1 (en) | Method and device for sorting contacts in contact list |
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 | ||
CP01 | Change in the name or title of a patent holder |
Address after: 418, room 310012, A West, building 525, Xixi Road, Xihu District, Zhejiang, Hangzhou Patentee after: Daily interactive Co., Ltd Address before: 418, room 310012, A West, building 525, Xixi Road, Xihu District, Zhejiang, Hangzhou Patentee before: ZHEJIANG MEIRI INTERDYNAMIC NETWORK TECHNOLOGY Co.,Ltd. |
|
CP01 | Change in the name or title of a patent holder |