CN111148044B - Enterprise position information acquisition method, device, equipment and storage medium - Google Patents

Enterprise position information acquisition method, device, equipment and storage medium Download PDF

Info

Publication number
CN111148044B
CN111148044B CN201911397584.XA CN201911397584A CN111148044B CN 111148044 B CN111148044 B CN 111148044B CN 201911397584 A CN201911397584 A CN 201911397584A CN 111148044 B CN111148044 B CN 111148044B
Authority
CN
China
Prior art keywords
mobile phone
phone number
position information
signaling
enterprise
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911397584.XA
Other languages
Chinese (zh)
Other versions
CN111148044A (en
Inventor
杨波
霍勇杰
闫龙
陈博
余智
冯晓玲
张天铭
冯翰斌
李硕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Unicom Big Data Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Unicom Big Data Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd, Unicom Big Data Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201911397584.XA priority Critical patent/CN111148044B/en
Publication of CN111148044A publication Critical patent/CN111148044A/en
Application granted granted Critical
Publication of CN111148044B publication Critical patent/CN111148044B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • H04W64/006Locating users or terminals or network equipment for network management purposes, e.g. mobility management with additional information processing, e.g. for direction or speed determination

Abstract

The application provides a method, a device, equipment and a storage medium for acquiring enterprise location information, wherein the method comprises the following steps: acquiring a first mobile phone number of a reference object under a target enterprise; acquiring a number set corresponding to a first mobile phone number according to a call relation map in a first preset time period and call characteristic parameters between two call numbers with calling and called relations in the call relation map, wherein the number set comprises a plurality of second mobile phone numbers, and the probability that a co-worker relation exists between a user corresponding to each second mobile phone number and a reference object is greater than a first preset threshold value; acquiring signaling data corresponding to each second mobile phone number in a second preset time period; determining the working place position information of the user corresponding to each second mobile phone number according to the signaling data corresponding to each second mobile phone number; and determining the position information of the target enterprise according to the work place position information corresponding to each second mobile phone number. The position information of the enterprise can be accurately acquired.

Description

Enterprise position information acquisition method, device, equipment and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method, an apparatus, a device, and a storage medium for acquiring enterprise location information.
Background
With the continuous development of society, more and more enterprises are in the process of transportation. At present, in order to realize tax administration of an enterprise, position information of the enterprise needs to be acquired, so that tax administration is performed on the enterprise according to the acquired position information of the enterprise, and whether the enterprise carries out legal tax administration or not is determined.
In the prior art, a web crawler mode is mainly adopted to obtain the position information of the self-publicity of the enterprise.
However, in the prior art, the position information disclosed by the enterprise itself may not be the actual position information of the enterprise. For example, when an enterprise is in consideration of tax policies, the enterprise is registered in tax preferential areas such as development areas or high-new districts, but the actual business location of the enterprise is located elsewhere, i.e., the location information disclosed by the enterprise itself is the location information used in enterprise registration, but not the actual location information of the enterprise. Therefore, when the position information of the enterprise is acquired based on the prior art, the accuracy of the acquired position information of the enterprise is low, and further effective supervision on the enterprise cannot be realized.
Disclosure of Invention
The application provides a method, a device, equipment and a storage medium for acquiring enterprise position information, the accuracy of the acquired enterprise position information is high, and further effective supervision on the enterprise can be realized.
In a first aspect, the present application provides a method for acquiring enterprise location information, where the method includes:
acquiring a first mobile phone number of a reference object under a target enterprise;
acquiring a number set corresponding to a first mobile phone number according to a call relation map within a first preset time period and call characteristic parameters between two call numbers with a calling-called relation in the call relation map, wherein the number set comprises a plurality of second mobile phone numbers, and the probability that a co-worker relation exists between a user corresponding to each second mobile phone number and the reference object is greater than a first preset threshold value;
acquiring signaling data corresponding to each second mobile phone number in a second preset time period;
determining the working place position information of the user corresponding to each second mobile phone number according to the signaling data corresponding to each second mobile phone number;
and determining the position information of the target enterprise according to the work place position information corresponding to each second mobile phone number.
Further, the call characteristic parameter includes one or a combination of the following: the communication frequency, the communication time length and the number of the months with communication;
the calling frequency between any two second mobile phone numbers with the calling and called relation is larger than a second preset threshold, the calling duration between any two second mobile phone numbers is larger than a third preset threshold, and the number of months with the calling between any two second mobile phone numbers is larger than a fourth preset threshold.
Further, the determining, according to the signaling data corresponding to each second mobile phone number, the work location information of the user corresponding to each second mobile phone number includes:
for each second handset number, performing:
obtaining an ordered array corresponding to the current second mobile phone number according to signaling data corresponding to the current second mobile phone number, wherein the ordered array comprises a plurality of sub-arrays, each sub-array comprises signaling start time, signaling end time, longitude corresponding to the signaling and latitude corresponding to the signaling, and the plurality of sub-arrays are sequentially arranged according to the sequence of the signaling start time from small to large;
deleting the sub-array meeting the preset time filtering condition in the ordered array corresponding to the current second mobile phone number to obtain a deleted ordered array;
performing clustering processing on the sub-arrays in the deleted ordered array to obtain a plurality of clusters;
and determining the cluster with the largest number of sub-arrays in the plurality of clusters as a target cluster corresponding to the current second mobile phone number, and determining the working place position information of the user corresponding to the current second mobile phone number according to the longitude corresponding to the signaling in all the sub-arrays in the target cluster and the latitude corresponding to the signaling.
Further, before deleting the sub-array meeting the preset time filtering condition in the ordered array corresponding to the current second mobile phone number to obtain the deleted ordered array, the method further includes:
merging the sub-arrays in the ordered array corresponding to the current second mobile phone number according to a preset merging condition to obtain a merged ordered array;
deleting the sub-array meeting the preset time filtering condition in the ordered array corresponding to the current second mobile phone number to obtain the ordered array after deletion processing, wherein the deleting comprises the following steps:
and deleting the sub-array meeting the preset time filtering condition in the merged ordered array corresponding to the current second mobile phone number to obtain the deleted ordered array.
Further, the temporal filtering condition includes: the signaling start time is less than 10800 seconds, or the signaling end time is greater than 75600 seconds, or the time difference between the signaling end time and the signaling start time is less than 600 seconds.
Further, the merging condition includes: the two subarrays are adjacent in the ordered array, the distance information corresponding to the two subarrays is less than 0.1 kilometer, and the time difference between the relatively largest signaling start time and the relatively smallest signaling start time in the two subarrays is less than 600 seconds.
Further, the determining the location information of the target enterprise according to the location information of the work place corresponding to each second mobile phone number includes:
determining a grid into which the current working place position information falls according to a preset grid algorithm aiming at each working place position information, and determining longitude and latitude information of the falling grid;
determining the quantity of the working place position information corresponding to each grid;
and determining longitude and latitude information of one or more grids with the largest number of the position information of the working place as the position information of the target enterprise.
Further, the method further comprises:
and generating early warning information for immigration or immigration of the target enterprise according to the position information of the target enterprise, and sending the early warning information to terminal equipment.
In a second aspect, the present application provides an enterprise location information acquiring apparatus, including:
the first acquisition unit is used for acquiring a first mobile phone number of a reference object under a target enterprise;
a second obtaining unit, configured to obtain a number set corresponding to the first mobile phone number according to a call relation map within a first preset time period and a call characteristic parameter between two call numbers in the call relation map, where a calling-called relation exists, where the number set includes a plurality of second mobile phone numbers, and a probability that a co-worker relation exists between a user corresponding to each second mobile phone number and the reference object is greater than a first preset threshold;
a third obtaining unit, configured to obtain signaling data corresponding to each second mobile phone number in a second preset time period;
the first determining unit is used for determining the working place position information of the user corresponding to each second mobile phone number according to the signaling data corresponding to each second mobile phone number;
and the second determining unit is used for determining the position information of the target enterprise according to the working place position information corresponding to each second mobile phone number.
Further, the call characteristic parameter includes one or a combination of the following: the communication frequency, the communication time length and the number of the months with communication;
the calling frequency between any two second mobile phone numbers with the calling and called relation is larger than a second preset threshold, the calling duration between any two second mobile phone numbers is larger than a third preset threshold, and the number of months with the calling between any two second mobile phone numbers is larger than a fourth preset threshold.
Further, the first determining unit is specifically configured to, for each of the second mobile phone numbers, perform: obtaining an ordered array corresponding to the current second mobile phone number according to signaling data corresponding to the current second mobile phone number, wherein the ordered array comprises a plurality of sub-arrays, each sub-array comprises signaling start time, signaling end time, longitude corresponding to the signaling and latitude corresponding to the signaling, and the plurality of sub-arrays are sequentially arranged according to the sequence of the signaling start time from small to large; deleting the sub-array meeting the preset time filtering condition in the ordered array corresponding to the current second mobile phone number to obtain a deleted ordered array; performing clustering processing on the sub-arrays in the deleted ordered array to obtain a plurality of clusters; and determining the cluster with the largest number of sub-arrays in the plurality of clusters as a target cluster corresponding to the current second mobile phone number, and determining the working place position information of the user corresponding to the current second mobile phone number according to the longitude corresponding to the signaling in all the sub-arrays in the target cluster and the latitude corresponding to the signaling.
Further, the first determining unit is further configured to, before deleting the sub-array that meets the preset time filtering condition in the ordered array corresponding to the current second mobile phone number and obtaining the deleted ordered array, merge the sub-array in the ordered array corresponding to the current second mobile phone number according to a preset merging condition to obtain a merged ordered array;
and the first determining unit is specifically configured to delete the sub-array meeting the preset time filtering condition in the merged ordered array corresponding to the current second mobile phone number to obtain the deleted ordered array.
Further, the temporal filtering condition includes: the signaling start time is less than 10800 seconds, or the signaling end time is greater than 75600 seconds, or the time difference between the signaling end time and the signaling start time is less than 600 seconds.
Further, the merging condition includes: the two subarrays are adjacent in the ordered array, the distance information corresponding to the two subarrays is less than 0.1 kilometer, and the time difference between the relatively largest signaling start time and the relatively smallest signaling start time in the two subarrays is less than 600 seconds.
Further, a second determining unit, configured to determine, according to a preset grid algorithm, a grid into which the current work location information falls, and determine longitude and latitude information of the falling grid, for each piece of work location information; determining the quantity of the working place position information corresponding to each grid; and determining longitude and latitude information of one or more grids with the largest number of the position information of the working place as the position information of the target enterprise.
Further, the apparatus further comprises:
and the early warning unit is used for generating early warning information for immigration or immigration of the target enterprise according to the position information of the target enterprise and sending the early warning information to the terminal equipment.
In a fourth aspect, the present application provides an enterprise location information acquiring apparatus, including: a memory and a processor;
the memory for storing a computer program;
wherein the processor executes the computer program in the memory to implement any of the methods as in the first aspect.
In a fifth aspect, the present application provides a computer-readable storage medium having stored thereon computer-executable instructions for performing any of the methods of the first aspect when executed by a processor.
According to the enterprise location information obtaining method, the device, the equipment and the storage medium provided by the application, by obtaining a first mobile phone number of a reference object under a target enterprise, a number set corresponding to the first mobile phone number can be obtained according to a call relation spectrogram in a first preset time period and call characteristic parameters between call numbers with a calling-called relation and a called relation in the call relation spectrogram, wherein the number set comprises a plurality of second mobile phone numbers, the probability that a co-worker relation exists between a user corresponding to each second mobile phone number and the reference object is larger than a first preset threshold value, then, for each second mobile phone number in the number set, signaling data corresponding to each second mobile phone number in a second preset time period is obtained, so that the working location information of the user corresponding to each second mobile phone number can be obtained according to the signaling data corresponding to each second mobile phone number, and further determining the position information of the target enterprise according to the work place position information corresponding to each second mobile phone number. According to the scheme, users with a great possibility of having a co-worker relationship with a reference object can be determined firstly through the call relationship map and the characteristic parameters among the call numbers, and then the working place position information of each user is determined according to the signaling data corresponding to each user, so that the position information of a target enterprise is accurately determined based on the working place position information of each user, and further the target enterprise can be effectively supervised.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a schematic diagram of an application scenario provided in the present application;
fig. 2 is a schematic flowchart of an enterprise location information obtaining method according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a call relation graph according to an embodiment of the present application;
fig. 4 is a schematic flowchart of a method for acquiring enterprise location information according to a second embodiment of the present application;
fig. 5 is a schematic structural diagram of an enterprise location information acquiring apparatus according to a third embodiment of the present application;
fig. 6 is a schematic structural diagram of an enterprise location information acquiring apparatus according to a fourth embodiment of the present application.
With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. These drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the disclosure to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
According to the enterprise credit information publicizing system, the information that the enterprise needs to be publicized comprises multidimensional information such as unified social credit codes, enterprise names, legal persons, registered capital, registration organs, registration states, enterprise positions, operation ranges and the like, wherein the enterprise position information is displayed in the form of ' city ' region ' road ' building ', and the enterprise position information is self-declared by a company registrant when the company registers, but the declared enterprise position information may not be the actual position information of the enterprise, so that the position information of the enterprise self-declaration acquired based on the web crawler at present is not accurate.
Based on this, the application provides an enterprise location information obtaining method, device, equipment and storage medium, a number set corresponding to users who are most likely to have a co-worker relationship with a reference object under a target enterprise is determined through a call relationship map and call characteristic parameters between call numbers, and then the work place location information of each user who is most likely to have a co-worker relationship with the target object is determined through signaling data corresponding to each second mobile phone number in the number set, so that the location information of the target enterprise can be more accurately determined according to the work place location information of each user, and further, the target enterprise is effectively supervised.
In addition, there are many application scenarios, for example, as shown in fig. 1, fig. 1 is a schematic diagram of an application scenario provided by the present application, and the application scenario includes: the server 101 and the terminal device 102 may be applied to the server 101, for example, after the position information of the enterprise is obtained, the obtained position information of the enterprise may be sent to the terminal device 102, and displayed to relevant personnel through the terminal device 102, and the relevant personnel supervise the enterprise according to the position information of the enterprise, and may perform early warning work based on the position information. The following describes in detail an enterprise location information acquisition method, apparatus, device and storage medium provided by the present application.
Fig. 2 is a schematic flowchart of a method for acquiring enterprise location information according to an embodiment of the present application, where as shown in fig. 2, the method includes:
step 201: and acquiring a first mobile phone number of a reference object under the target enterprise.
In practical applications, the execution subject of this embodiment may be an enterprise location information obtaining device, which may be program software, or a medium storing a related computer program, such as a usb disk; alternatively, the enterprise location information acquiring device may also be a physical device, such as a chip, an intelligent terminal, a computer, a server, etc., which integrates or installs a related computer program.
In this embodiment, the first mobile phone number of the business industry and business registration contact in the target enterprise can be obtained based on network crawling or a cooperation channel.
In addition, the reference object under the target enterprise may be, without limitation, an enterprise business registered contact under the target enterprise, or another high-level management under the target enterprise.
Step 202: and acquiring a number set corresponding to the first mobile phone number according to the call relation map in the first preset time period and the call characteristic parameters between the call numbers with the calling and called relations in the call relation map, wherein the number set comprises a plurality of second mobile phone numbers, and the probability that a co-worker relation exists between a user corresponding to each second mobile phone number and a reference object is greater than a first preset threshold value.
In this embodiment, the call relation graph is a graph formed by using call numbers as nodes and calling and called relations as edges. For example, fig. 3 is a schematic diagram of a call relationship map provided in an embodiment of the present application, and as shown in fig. 3, the call relationship map includes 11 call numbers V0 to V10, where V0 has a calling-called relationship with V1 and V2 respectively, V1 has a calling-called relationship with V3, V3 has a calling-called relationship with V5 and V6 respectively, V2 has a calling-called relationship … with V4, and so on.
Optionally, the call characteristic parameter between the two call numbers having the calling and called relationship may be stored by connecting the edge attributes of the two call numbers. Optionally, the call characteristic parameter includes one or a combination of the following: frequency of calls, duration of calls, number of months there are calls.
In this embodiment, after the first mobile phone number of the reference object is obtained, according to the call relationship map within the first preset time period and the call characteristic parameter between two call numbers in the call relationship map, where the calling and called relationships exist, the call numbers of users who may have a co-worker relationship with the reference object are determined from the call relationship map, and a number set is obtained according to the determined call numbers, that is, the determined call number is a second mobile phone number in the number set. In addition, a second handset number in the number set may be the same as the first handset number, that is, the number set includes both the first handset number and the call number of the user who may have a co-worker relationship with the reference object. The first preset time period may be set according to actual requirements, for example, the last three months.
For example, assume that V0 is the first mobile phone number, V0 is the 0 th floor, V1 and V2 are the 1 st floors, V3 and V4 are the 2 nd floors, V5 and V6 are the 3 rd floors, V7 and V8 are the 4 th floors, and V9 and V10 are the 5 th floors as the call relationship graph shown in fig. 3. Firstly, according to the call relation map, V1 and V2 which have calling and called relations with V0 can be found out; secondly, for V1, whether the call characteristic parameters between V0 and V1 meet preset requirements or not can be determined, and if the call characteristic parameters meet the preset requirements, V1 is obtained; similarly, for V2, determining whether the call characteristic parameter between V0 and V2 meets the preset requirement, if not, not considering V2 and the following V4 having a calling-called relationship with V2; then, finding out V3 which has calling and called relations with V1, determining whether the call characteristic parameters between V1 and V3 meet the preset requirements, and if so, acquiring V3; then, finding out V5 and V5 which have calling and called relations with V3, determining whether the call characteristic parameters between V3 and V5 meet preset requirements, if so, obtaining V5, determining whether the call characteristic parameters between V3 and V6 meet the preset requirements, and if so, obtaining V6; then, finding out the V7 having a calling-called relationship with the V5, determining whether the call characteristic parameters between the V5 and the V7 meet the preset requirements, if so, obtaining the V7, finding out the V8 having a calling-called relationship with the V6, determining whether the call characteristic parameters between the V6 and the V8 meet the preset requirements, and if so, obtaining the V8. In order to reduce the data volume and improve the accuracy of the result, only the layer 4 can be performed, that is, only the layer 4 neighbor node expansion needs to be performed on the first mobile phone number V0. Thus, the set of numbers may include V1, V3, V5, V6, V7, V8, i.e., the six second handset numbers. Optionally, the number set may further include V0, that is, the number set includes seven second handset numbers, including V0, V1, V3, V5, V6, V7, and V8.
Optionally, the preset requirement may mean that the frequency of the call is greater than a second preset threshold, the duration of the call is greater than a third preset threshold, and the probability that a co-worker relationship exists between the user corresponding to the number of the second handset and the reference object is greater than a first preset threshold.
In this embodiment, in addition to the first mobile phone number, to avoid acquiring duplicate communication numbers, an array of visited and a queue may be created in advance, the call numbers that have been accessed are recorded through the array of visited, and the number set is acquired based on the first-in first-out characteristic of the queue. Specifically, as long as the queue is not empty, the following steps are repeated:
the first step is as follows: dequeuing the head node u;
the second step is as follows: and sequentially detecting all adjacent nodes w of u, if the value of the weighted [ w ] is false, accessing w, setting the weighted [ w ] to true, and simultaneously placing w in the queue.
Step 203: and acquiring signaling data corresponding to each second mobile phone number in a second preset time period.
In this embodiment, after acquiring the number set corresponding to the first mobile phone number, signaling data corresponding to each second mobile phone number in the number set within a second preset time period needs to be acquired, where the second preset time period may be set according to an actual requirement, for example, the last week. The signaling data can be generated by the user through the corresponding second mobile phone number for communication, short message sending and receiving, internet query and the like. Optionally, the signaling data may include multiple sets of signaling sub data, where each set of signaling sub data includes a signaling start time, a signaling end time, a longitude corresponding to the signaling, a latitude where the signaling is located, and the like.
Step 204: and determining the working place position information of the user corresponding to each second mobile phone number according to the signaling data corresponding to each second mobile phone number.
In this embodiment, after the signaling data corresponding to each second mobile phone number in the second preset time period is obtained, for each second mobile phone number, according to the signaling data corresponding to the second mobile phone number, the work location information of the user corresponding to the second mobile phone number, that is, the location information of the place where the user works, which is most likely to have a co-worker relationship with the reference object, is determined.
Step 205: and determining the position information of the target enterprise according to the work place position information corresponding to each second mobile phone number.
In this embodiment, after the work location information of the user corresponding to each second mobile phone number is determined, that is, after the work location information of the user having a great possibility of having a co-worker relationship with the reference object is determined, the location information of the target enterprise may be determined based on the work location information of the users having a great possibility of having a co-worker relationship with the reference object. Taking the above-mentioned six second mobile phone numbers including V1, V3, V5, V6, V7 and V8 in the number set in step 202 as an example, assuming that the work location information determined for V1, V3, V5, V6 and V7 is the same, and the work location information determined for V8 is completely different from the same, the work location information determined for V1, V3, V5, V6 and V7 can be determined as the location information of the target enterprise.
The application provides an enterprise location information acquisition method, which can acquire a number set corresponding to a first mobile phone number by acquiring the first mobile phone number of a reference object under a target enterprise according to a call relation spectrogram in a first preset time period and call characteristic parameters between call numbers with a calling-called relation in the call relation spectrogram, wherein the call numbers correspond to the first mobile phone number, the number set comprises a plurality of second mobile phone numbers, the probability that a co-worker relation exists between a user corresponding to each second mobile phone number and the reference object is greater than a first preset threshold value, then, aiming at each second mobile phone number in the number set, signaling data corresponding to each second mobile phone number in a second preset time period are acquired, so that the working location information of the user corresponding to each second mobile phone number can be acquired according to the signaling data corresponding to each second mobile phone number, and further determining the position information of the target enterprise according to the work place position information corresponding to each second mobile phone number. According to the scheme, users with a great possibility of having a co-worker relationship with a reference object can be determined firstly through the call relationship map and the characteristic parameters among the call numbers, and then the working place position information of each user is determined according to the signaling data corresponding to each user, so that the position information of a target enterprise is accurately determined based on the working place position information of each user, and further the target enterprise can be effectively supervised.
Fig. 4 is a schematic flowchart of a method for acquiring enterprise location information according to a second embodiment of the present application, as shown in fig. 4, including:
step 401: and acquiring a first mobile phone number of a reference object under the target enterprise.
In this embodiment, step 401 may refer to the related explanation in step 101 in the first embodiment, and is not described herein again.
Step 402: and acquiring a number set corresponding to the first mobile phone number according to the call relation map in the first preset time period and the call characteristic parameters between the call numbers with the calling and called relations in the call relation map, wherein the number set comprises a plurality of second mobile phone numbers.
In this embodiment, step 402 can refer to the related explanation in step 102 in the first embodiment, and is not described herein again.
Step 403: and acquiring signaling data corresponding to each second mobile phone number in a second preset time period.
Step 404: and aiming at each second mobile phone number, obtaining an ordered array corresponding to the current second mobile phone number according to the signaling data corresponding to the current second mobile phone number, wherein the ordered array comprises a plurality of sub-arrays, each sub-array comprises signaling start time, signaling end time, longitude corresponding to the signaling and latitude corresponding to the signaling, and the plurality of sub-arrays are sequentially arranged according to the order of the signaling start time from small to large.
In this embodiment, the signaling data corresponding to the current second mobile phone number is sorted in the order from small to large according to the signaling data corresponding to the current second mobile phone number, and the obtained ordered array L corresponding to the current second mobile phone number is [ (t)s0,te0,lon0,lat0),(ts1,te1,lon1,lat1),…,(tsn,ten,lonn,latn)]Wherein, L includes n +1 sub-arrays, n is a positive integer greater than or equal to 1, four elements in each sub-array are sequentially from left to right a signaling start time, a signaling end time, a longitude corresponding to the signaling, a latitude corresponding to the signaling, and ts0<ts1<ts2<...<tsn
Step 405: and merging the sub-arrays in the ordered array corresponding to the current second mobile phone number according to a preset merging condition to obtain a merged ordered array.
In this embodiment, to reduce the data amount, the sub-arrays in L may be merged according to a preset merging condition. Optionally, the merging condition includes the following three conditions:
the first condition is as follows: the two subarrays are adjacent in the ordered array.
And a second condition:
Figure BDA0002346726450000131
(unit is kilometer), namely the distance information corresponding to the two subarrays is less than 0.1 kilometer.
And (3) carrying out a third condition: t is ts(i+1)-tsi<600 (in seconds), i.e. the time difference between the relatively largest and the relatively smallest signalling start time in the two sub-arrays is less than 600 seconds.
Wherein the content of the first and second substances,
Figure BDA0002346726450000132
can be obtained by the following formula (1) and formula (2).
Figure BDA0002346726450000133
Figure BDA0002346726450000134
Wherein R is the radius of the earth.
In the present embodiment, (t)si,tei,loni,lati) Is the (i-1) th sub-array in the ordered array L, (t)s(i+1),te(i+1),loni+1,lati+1) Is the ith sub-array in the ordered array L, wherein i is a positive integer greater than or equal to 1. If (t)si,tei,loni,lati) And (t)s(i+1),te(i+1),loni+1,lati+1) If the three conditions are met simultaneously, a new subarray is obtained after combination
Figure BDA0002346726450000135
For example, from the 1 st subarray in ordered array L (t)s0,te0,lon0,lat0) To begin the determination, assume the 1 st sub-array (t)s0,te0,lon0,lat0) And 2 nd sub-array (t)s1,te1,lon1,lat1) When the three conditions are simultaneously met, a new subarray can be obtained after combination
Figure BDA0002346726450000136
Optionally, will
Figure BDA0002346726450000137
As the 1 st sub-array in L and adjacent sub-array (t)s2,te2,lon2,lat2) Judging, if the three conditions are simultaneously satisfied, merging based on the above principle, if the three conditions are not simultaneously satisfied, judging (t)s2,te2,lon2,lat2) Adjacent to (t)s3,te3,lon3,lat3) Whether the above three conditions are satisfied simultaneously, and so on, are not described herein again.
Step 406: and deleting the sub-array meeting the preset time filtering condition in the merged ordered array corresponding to the current second mobile phone number to obtain the deleted ordered array.
In this embodiment, the preset time filtering condition may include:
the first condition is as follows: t is tsi<6 × 60 ═ 10800 (units in seconds).
Or, condition two: t is tei>21 × 60 ═ 75600 (units in seconds).
Or, condition three: t is tei-tsi<10 x 60 ═ 600 (units in seconds).
In this embodiment, for the merged ordered array, as long as the sub-array in the merged ordered array satisfies any one of the above conditions, the merged ordered array is deleted.
Step 407: and clustering the sub-arrays in the deleted ordered array to obtain a plurality of clusters.
In this embodiment, a K-Means clustering algorithm (K-Means) may be used for clustering.
Step 408: and determining the cluster with the largest number of the sub-arrays in the plurality of clusters as a target cluster corresponding to the current second mobile phone number, and determining the working place position information of the user corresponding to the current second mobile phone number according to the longitude corresponding to the signaling in all the sub-arrays in the target cluster and the latitude corresponding to the signaling.
In the present embodiment, the work location information includes a work location longitude lon and a work location latitude lat. Optionally, the average value of the sum of the longitudes corresponding to the signaling in all the sub-arrays in the target cluster may be used as the working place longitude lon of the user corresponding to the current second mobile phone number; and taking the average value of the sum of the latitudes corresponding to the signaling in all the sub-arrays in the target cluster as the working place latitude lat of the user corresponding to the current second mobile phone number.
Step 409: and determining the position information of the target enterprise according to the work place position information corresponding to each second mobile phone number.
In this embodiment, the step 409 may specifically include the following steps:
the first step is as follows: determining a grid into which the current working place position information falls according to a preset grid algorithm aiming at each working place position information, and determining longitude and latitude information of the falling grid;
the second step is as follows: determining the quantity of the working place position information corresponding to each grid;
the third step: and determining the latitude and longitude information of one or more grids with the highest relative quantity of the position information of the working place as the position information of the target enterprise.
Specifically, in the first step, first, a longitude distance Δ lat and a single latitude distance Δ lon of a single grid may be determined, where Δ lat is obtained by the following formula (3);
Figure BDA0002346726450000151
Δ lon is obtained by the following formula (4);
Figure BDA0002346726450000152
wherein, p is the preset grid side length, MIN _ LON is the Chinese minimum longitude boundary, MAX _ LON is the Chinese maximum longitude boundary, MIN _ LAT is the Chinese minimum latitude boundary, MAX _ LAT is the Chinese maximum latitude boundary, and R is the earth radius. Specifically, R is 6371.393 km, MIN _ LON is 73.423873, MAX _ LON is 135.606735, MIN _ LAT is 16.3128, MAX _ LAT is 53.676011, and p is in km.
Next, based on the current working location information (lon, lat), the upper latitude U of the grid where the current working location information is located is calculated by the following equations (5), (6), (7), and (8), respectivelylatLeft longitude LlonLower latitude DlatRight longitude Rlon
Figure BDA0002346726450000153
Figure BDA0002346726450000154
Figure BDA0002346726450000155
Figure BDA0002346726450000156
Then, order
Figure BDA0002346726450000157
Figure BDA0002346726450000158
If parity is 1 and f (L)lon,Ulat)<f(Rlon,Dlat) Determining the longitude and latitude information of the grid into which the current working place position information falls as (L)lon,Ulat)。
If parity is 1 and f (L)lon,Ulat)>f(Rlon,Dlat) Determining the longitude and latitude information of the grid into which the current working place position information falls as (R)lon,Dlat)。
If parity is 0 and f (L)lon,Dlat)<f(Rlon,Ulat) Determining the longitude and latitude information of the grid into which the current working place position information falls as (L)lon,Dlat)。
If parity is 0 and f (L)lon,Dlat)>f(Rlon,Ulat) Determining the longitude and latitude information of the grid into which the current working place position information falls as (R)lon,Ulat)。
Based on the above, after determining the grid into which each piece of work place location information falls and the longitude and latitude information of the falling grid, the number of pieces of work place location information corresponding to each grid can be determined, so as to determine the location information of the target enterprise.
In addition, the method further comprises: and generating early warning information for migration in or out of the target enterprise according to the position information of the target enterprise, and sending the early warning information to the terminal equipment. Specifically, the number of pieces of working location information falling into the grid at the current time in the grid is determined again by the method with the location information of the target enterprise as a reference, so that the ring ratio change rate corresponding to each grid can be calculated, whether the target enterprise has the possibility of migration in and migration out is determined based on the ring ratio change rate or the change of the number of people, and early warning information is generated, so that early warning service is provided for the user.
According to the embodiment, the ordered arrays are merged, so that the data volume can be reduced, and the processing efficiency is improved. Moreover, the sub-array which does not meet the time filtering condition is filtered, only the signaling data of the working time is reserved, and the commuting position of the user can be conveniently and accurately determined. Moreover, the accuracy of the obtained enterprise position information is further improved by clustering the sub-arrays, and therefore the important significance is generated for effectively supervising the enterprise and early warning the enterprise.
Fig. 5 is a schematic structural diagram of an enterprise location information acquiring apparatus according to a third embodiment of the present application, as shown in fig. 5, including:
a first obtaining unit 501 is configured to obtain a first mobile phone number of a reference object in a target enterprise.
A second obtaining unit 502, configured to obtain a number set corresponding to the first mobile phone number according to the call relationship map within the first preset time period and the call characteristic parameter between two call numbers in the call relationship map, where the two call numbers have a calling-called relationship, where the number set includes a plurality of second mobile phone numbers, and a probability that a co-worker relationship exists between a user corresponding to each second mobile phone number and a reference object is greater than a first preset threshold.
A third obtaining unit 503, configured to obtain signaling data corresponding to each second mobile phone number in a second preset time period.
A first determining unit 504, configured to determine, according to the signaling data corresponding to each second mobile phone number, the work location information of the user corresponding to each second mobile phone number.
And a second determining unit 505, configured to determine location information of the target enterprise according to the work place location information corresponding to each second mobile phone number.
Optionally, the call characteristic parameter includes one or a combination of the following: frequency of calls, duration of calls, number of months there are calls.
The calling frequency between any two second mobile phone numbers with the calling and called relation is larger than a second preset threshold, the calling duration between any two second mobile phone numbers is larger than a third preset threshold, and the number of the months with the calling between any two second mobile phone numbers is larger than a fourth preset threshold.
Optionally, the first determining unit 504 is specifically configured to, for each second mobile phone number, perform: obtaining an ordered array corresponding to the current second mobile phone number according to the signaling data corresponding to the current second mobile phone number, wherein the ordered array comprises a plurality of sub-arrays, each sub-array comprises signaling start time, signaling end time, longitude corresponding to the signaling and latitude corresponding to the signaling, and the plurality of sub-arrays are sequentially arranged according to the sequence of the signaling start time from small to large; deleting the sub-array meeting the preset time filtering condition in the ordered array corresponding to the current second mobile phone number to obtain a deleted ordered array; performing clustering processing on the sub-arrays in the deleted ordered array to obtain a plurality of clusters; and determining the cluster with the largest number of the sub-arrays in the plurality of clusters as a target cluster corresponding to the current second mobile phone number, and determining the working place position information of the user corresponding to the current second mobile phone number according to the longitude corresponding to the signaling in all the sub-arrays in the target cluster and the latitude corresponding to the signaling.
Optionally, the first determining unit 504 is further configured to, before deleting the sub-array that meets the preset time filtering condition in the ordered array corresponding to the current second mobile phone number to obtain the deleted ordered array, merge the sub-array in the ordered array corresponding to the current second mobile phone number according to a preset merging condition to obtain a merged ordered array;
the first determining unit 504 is specifically configured to delete the sub-array meeting the preset time filtering condition in the merged ordered array corresponding to the current second mobile phone number, so as to obtain the deleted ordered array.
Optionally, the temporal filtering condition includes: the signaling start time is less than 10800 seconds, or the signaling end time is greater than 75600 seconds, or the time difference between the signaling end time and the signaling start time is less than 600 seconds.
Optionally, the merging condition includes: the two subarrays are adjacent in the ordered array, the distance information corresponding to the two subarrays is less than 0.1 kilometer, and the time difference between the relatively largest signaling start time and the relatively smallest signaling start time in the two subarrays is less than 600 seconds.
Optionally, the second determining unit 505 is configured to determine, according to a preset grid algorithm, a grid into which the current working place location information falls according to each working place location information, and determine longitude and latitude information of the falling grid; determining the quantity of the working place position information corresponding to each grid; and determining the latitude and longitude information of one or more grids with the highest relative quantity of the position information of the working place as the position information of the target enterprise.
Optionally, the apparatus further comprises: and the early warning unit is used for generating early warning information for immigration or immigration of the target enterprise according to the position information of the target enterprise and sending the early warning information to the terminal equipment.
The enterprise location information obtaining method provided in this embodiment is the same as the technical solution for implementing the enterprise location information obtaining method provided in any of the foregoing embodiments, and the implementation principle and the technical effect are similar and are not described again.
Fig. 6 is a schematic structural diagram of an enterprise location information acquiring device according to a fourth embodiment of the present application, as shown in fig. 6, including: a memory 601 and a processor 602;
the memory 601 is used for storing a computer program;
wherein the processor 602 executes the computer program in the memory 601 to implement the method of any of the embodiments.
The fifth embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored, and when the computer-executable instructions are executed by a processor, the method of any embodiment is implemented.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (12)

1. An enterprise location information acquisition method is characterized by comprising the following steps:
acquiring a first mobile phone number of a reference object under a target enterprise; the reference object comprises any one of: registering a contact person and other high management under the target enterprise by an enterprise and business under the target enterprise;
acquiring a number set corresponding to a first mobile phone number according to a call relation map within a first preset time period and call characteristic parameters between two call numbers with a calling-called relation in the call relation map, wherein the number set comprises a plurality of second mobile phone numbers, and the probability that a co-worker relation exists between a user corresponding to each second mobile phone number and the reference object is greater than a first preset threshold value;
acquiring signaling data corresponding to each second mobile phone number in a second preset time period;
determining the working place position information of the user corresponding to each second mobile phone number according to the signaling data corresponding to each second mobile phone number;
and determining the position information of the target enterprise according to the work place position information corresponding to each second mobile phone number.
2. The method of claim 1, wherein the call characteristic parameter comprises one or more of the following: the communication frequency, the communication time length and the number of the months with communication;
the calling frequency between any two second mobile phone numbers with the calling and called relation is larger than a second preset threshold, the calling duration between any two second mobile phone numbers is larger than a third preset threshold, and the number of months with the calling between any two second mobile phone numbers is larger than a fourth preset threshold.
3. The method according to claim 1, wherein the determining the work location information of the user corresponding to each second mobile phone number according to the signaling data corresponding to each second mobile phone number comprises:
for each second handset number, performing:
obtaining an ordered array corresponding to the current second mobile phone number according to signaling data corresponding to the current second mobile phone number, wherein the ordered array comprises a plurality of sub-arrays, each sub-array comprises signaling start time, signaling end time, longitude corresponding to the signaling and latitude corresponding to the signaling, and the plurality of sub-arrays are sequentially arranged according to the sequence of the signaling start time from small to large;
deleting the sub-array meeting the preset time filtering condition in the ordered array corresponding to the current second mobile phone number to obtain a deleted ordered array;
performing clustering processing on the sub-arrays in the deleted ordered array to obtain a plurality of clusters;
and determining the cluster with the largest number of sub-arrays in the plurality of clusters as a target cluster corresponding to the current second mobile phone number, and determining the working place position information of the user corresponding to the current second mobile phone number according to the longitude corresponding to the signaling in all the sub-arrays in the target cluster and the latitude corresponding to the signaling.
4. The method according to claim 3, wherein before deleting the sub-array satisfying the preset time filtering condition in the ordered array corresponding to the current second mobile phone number to obtain the deleted ordered array, the method further comprises:
merging the sub-arrays in the ordered array corresponding to the current second mobile phone number according to a preset merging condition to obtain a merged ordered array;
deleting the sub-array meeting the preset time filtering condition in the ordered array corresponding to the current second mobile phone number to obtain the ordered array after deletion processing, wherein the deleting comprises the following steps:
and deleting the sub-array meeting the preset time filtering condition in the merged ordered array corresponding to the current second mobile phone number to obtain the deleted ordered array.
5. The method of claim 3 or 4, wherein the temporal filtering condition comprises: the signaling start time is less than 10800 seconds, or the signaling end time is greater than 75600 seconds, or the time difference between the signaling end time and the signaling start time is less than 600 seconds.
6. The method of claim 4, wherein the merging condition comprises: the two subarrays are adjacent in the ordered array, the distance information corresponding to the two subarrays is less than 0.1 kilometer, and the time difference between the relatively largest signaling start time and the relatively smallest signaling start time in the two subarrays is less than 600 seconds.
7. The method according to any one of claims 1-4, wherein the determining the location information of the target enterprise according to the workplace location information corresponding to each second mobile phone number comprises:
determining a grid into which the current working place position information falls according to a preset grid algorithm aiming at each working place position information, and determining longitude and latitude information of the falling grid;
determining the quantity of the working place position information corresponding to each grid;
and determining longitude and latitude information of one or more grids with the largest number of the position information of the working place as the position information of the target enterprise.
8. The method according to any one of claims 1-4, further comprising:
and generating early warning information for immigration or immigration of the target enterprise according to the position information of the target enterprise, and sending the early warning information to terminal equipment.
9. An apparatus for acquiring location information of an enterprise, the apparatus comprising:
the first acquisition unit is used for acquiring a first mobile phone number of a reference object under a target enterprise; the reference object comprises any one of: registering a contact person and other high management under the target enterprise by an enterprise and business under the target enterprise;
a second obtaining unit, configured to obtain a number set corresponding to the first mobile phone number according to a call relation map within a first preset time period and a call characteristic parameter between two call numbers in the call relation map, where a calling-called relation exists, where the number set includes a plurality of second mobile phone numbers, and a probability that a co-worker relation exists between a user corresponding to each second mobile phone number and the reference object is greater than a first preset threshold;
a third obtaining unit, configured to obtain signaling data corresponding to each second mobile phone number in a second preset time period;
the first determining unit is used for determining the working place position information of the user corresponding to each second mobile phone number according to the signaling data corresponding to each second mobile phone number;
and the second determining unit is used for determining the position information of the target enterprise according to the working place position information corresponding to each second mobile phone number.
10. The apparatus of claim 9, wherein the call characteristic parameter comprises one or more of the following: the communication frequency, the communication time length and the number of the months with communication;
the calling frequency between any two second mobile phone numbers with the calling and called relation is larger than a second preset threshold, the calling duration between any two second mobile phone numbers is larger than a third preset threshold, and the number of months with the calling between any two second mobile phone numbers is larger than a fourth preset threshold.
11. An enterprise location information acquiring apparatus, comprising: a memory and a processor;
the memory for storing a computer program;
wherein the processor executes the computer program in the memory to implement the method of any one of claims 1-8.
12. A computer-readable storage medium having computer-executable instructions stored thereon, which when executed by a processor, perform the method of any one of claims 1-8.
CN201911397584.XA 2019-12-30 2019-12-30 Enterprise position information acquisition method, device, equipment and storage medium Active CN111148044B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911397584.XA CN111148044B (en) 2019-12-30 2019-12-30 Enterprise position information acquisition method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911397584.XA CN111148044B (en) 2019-12-30 2019-12-30 Enterprise position information acquisition method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111148044A CN111148044A (en) 2020-05-12
CN111148044B true CN111148044B (en) 2021-06-01

Family

ID=70521960

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911397584.XA Active CN111148044B (en) 2019-12-30 2019-12-30 Enterprise position information acquisition method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111148044B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113743952B (en) * 2020-05-28 2023-05-19 中国联合网络通信集团有限公司 Empty shell enterprise identification method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104854884A (en) * 2012-06-22 2015-08-19 谷歌公司 Labeling visited locations based on contact information
CN108985765A (en) * 2018-08-13 2018-12-11 中国联合网络通信集团有限公司 Enterprise user information processing method, equipment and storage medium
CN110084711A (en) * 2013-02-06 2019-08-02 脸谱公司 Position tracking method and equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7409429B2 (en) * 2001-02-26 2008-08-05 International Business Machines Corporation Cooperative location based tasks
CN104809132B (en) * 2014-01-27 2018-07-31 阿里巴巴集团控股有限公司 A kind of method and device obtaining network principal social networks type
CN104636439B (en) * 2015-01-04 2018-07-03 中国联合网络通信集团有限公司 A kind of method and device for analyzing user's social relationships
CN109522335B (en) * 2018-09-19 2021-10-22 北京明略软件系统有限公司 Information acquisition method and device and computer readable storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104854884A (en) * 2012-06-22 2015-08-19 谷歌公司 Labeling visited locations based on contact information
CN110084711A (en) * 2013-02-06 2019-08-02 脸谱公司 Position tracking method and equipment
CN108985765A (en) * 2018-08-13 2018-12-11 中国联合网络通信集团有限公司 Enterprise user information processing method, equipment and storage medium

Also Published As

Publication number Publication date
CN111148044A (en) 2020-05-12

Similar Documents

Publication Publication Date Title
CN106557942B (en) User relationship identification method and device
Silva et al. Traffic condition is more than colored lines on a map: characterization of waze alerts
CN106547894B (en) System and method for mining position label of position based on mobile communication signaling big data
CN110337059B (en) Analysis algorithm, server and network system for family relationship of user
CN107609682B (en) Medium-short term early warning method for population aggregation in big data environment
CN110035388A (en) Determine method, computer readable storage medium and the terminal device of user area
EP3627884A1 (en) Method and arrangement for supporting analysis of social networks in a communication network
CN110990443A (en) Mobile phone signaling-based professional and living population characteristic estimation method
US20180109918A1 (en) Method and system for estimating a posteriori a number of persons in one or more crowds by means of aggregated data of a telecommunication network
WO2014012927A1 (en) Method and system for traffic estimation
CN111148044B (en) Enterprise position information acquisition method, device, equipment and storage medium
CN115034524A (en) Method, system and storage medium for predicting working population based on mobile phone signaling
CN115086880A (en) Travel characteristic identification method, device, equipment and storage medium
CN110942220A (en) Transport capacity scheduling method and device and server
CN113285960B (en) Data encryption method and system for service data sharing cloud platform
WO2020119269A1 (en) User position determination method and apparatus, device, and computer readable storage medium
Bakkal et al. Modeling and querying trajectories using Neo4j spatial and TimeTree for carpool matching
CN111651681A (en) Message pushing method and device based on intelligent information recommendation in cloud network fusion environment
CN111324583B (en) Service log classification method and device
Dash et al. From Mobile Phone Data to Transport Network--Gaining Insight about Human Mobility
CN114529043A (en) Urban space grouping method
CN110348525B (en) Map interest point acquisition method, device, equipment and storage medium
CN111813833A (en) Real-time two-degree communication relation data mining method
CN111797181A (en) Method and device for positioning user position, control equipment and storage medium
Bhandari et al. Estimation of Origin-Destination using Mobile Phone Call Data: A Case Study of Greater Dhaka, Bangladesh

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