CN111177487A - Incidence relation determining method and device, electronic equipment and storage medium - Google Patents

Incidence relation determining method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111177487A
CN111177487A CN201911321606.4A CN201911321606A CN111177487A CN 111177487 A CN111177487 A CN 111177487A CN 201911321606 A CN201911321606 A CN 201911321606A CN 111177487 A CN111177487 A CN 111177487A
Authority
CN
China
Prior art keywords
vehicle
telephone number
time
determining
location
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.)
Pending
Application number
CN201911321606.4A
Other languages
Chinese (zh)
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.)
Beijing Mininglamp Software System Co ltd
Original Assignee
Beijing Mininglamp Software System 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 Beijing Mininglamp Software System Co ltd filed Critical Beijing Mininglamp Software System Co ltd
Priority to CN201911321606.4A priority Critical patent/CN111177487A/en
Publication of CN111177487A publication Critical patent/CN111177487A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • G06F16/2255Hash tables
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2462Approximate or statistical queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/90335Query processing
    • G06F16/90344Query processing by using string matching techniques
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Software Systems (AREA)
  • Remote Sensing (AREA)
  • Fuzzy Systems (AREA)
  • Mathematical Physics (AREA)
  • Traffic Control Systems (AREA)
  • Telephone Function (AREA)
  • Navigation (AREA)

Abstract

The application provides an incidence relation determining method, an incidence relation determining device, electronic equipment and a storage medium, wherein the method comprises the following steps: acquiring a running record of a vehicle; wherein the driving record includes: a plurality of first locations through which the vehicle travels and a first time of day at which the vehicle passes each first location; for each first position, acquiring the telephone number appearing at the first position at the first time and within a preset time length before and after the first time; determining, for each of a plurality of said telephone numbers, a number of times that telephone number appears at said plurality of first locations; the more the times, the greater the degree of association representing the telephone number with the vehicle, and the method can determine the telephone number in association with the vehicle without depending on the mobile phone number actively declared by a vehicle owner to facilitate subsequent management of the vehicle.

Description

Incidence relation determining method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a method and an apparatus for determining an association relationship, an electronic device, and a storage medium.
Background
The vehicle is an important content of social order management, and the management of the actual manager of the vehicle and the association relationship between the vehicle and the person are currently performed only by means of active registration of the vehicle owner, but after a long time, the person who may use the vehicle is not the registered person, or the person who uses the vehicle changes the telephone number, and then the association relationship between the vehicle and the telephone number needs to be determined in time.
The existing method for determining the association relationship between the vehicle and the telephone number generally depends on the initiative declaration of a vehicle owner, namely, after carrying an identity card, a motor vehicle driving certificate and other related certificates to related departments for verification and audit, the telephone number is changed and registered in the related departments so as to associate the vehicle with the changed telephone number. However, the method of determining the relationship between the vehicle and the telephone number by means of active declaration by the vehicle owner is not only inefficient, but also cannot ensure that the vehicle owner actively declares the relationship after the telephone number associated with the vehicle is changed, which leads to the fact that the manager cannot accurately determine the relationship between the vehicle and the telephone number, and is inconvenient for subsequent management of the vehicle.
Content of application
In view of the above, an object of the embodiments of the present application is to provide a method, an apparatus, an electronic device, and a storage medium for determining an association relationship between a vehicle and a mobile phone number of a vehicle, which is determined by a vehicle owner without actively declaring the mobile phone number of the vehicle, so as to facilitate subsequent management of the vehicle.
In a first aspect, an embodiment of the present application provides an association relationship determining method, where the method includes: acquiring a running record of a vehicle; wherein the driving record includes: a plurality of first locations through which the vehicle travels and a first time of day at which the vehicle passes each first location; for each first position, acquiring the telephone number appearing at the first position at the first time and within a preset time length before and after the first time; determining, for each of a plurality of said telephone numbers, a number of times that telephone number appears at said plurality of first locations; wherein the greater the number of times, the greater the degree of association characterizing the phone number with the vehicle.
In the implementation process, a plurality of telephone numbers which are simultaneously present at the same position in the same time range with the vehicle are determined according to the driving record of the vehicle, and then the number of times that each telephone number in the plurality of telephone numbers appears at a plurality of first positions in the driving record of the vehicle is determined, wherein the more the times, the greater the degree of association between the telephone number and the vehicle is represented, the telephone number which is associated with the vehicle can be determined without waiting for a vehicle owner to perform telephone number change registration to a correlation department, and the degree of association between the telephone number which is associated with the vehicle and the vehicle can be determined.
Based on the first aspect, in one possible design, the first location is represented by a geohash string, wherein different geohash strings characterize different rectangular location ranges; the size and the shape of the rectangular position range represented by each geohash character string are the same; the acquiring of the phone number appearing at the first position at the first time and within a preset time before and after the first time includes: and acquiring the telephone number of the matching of the geohash character string and the geohash character string at the first position at the first time and within a preset time length before and after the first time.
Because the positioning error of the vehicle and the telephone number is utilized to determine whether the telephone number and the vehicle are at the same position by utilizing whether the position points coincide or not, not only can useful data of telephone numbers which are close to the position where the vehicle is positioned in the same time range be easily filtered out, but also the mode of determining whether the position points coincide or not is complex, therefore, in the implementation process, the first position is represented by a geohash character string, different geohash character strings represent different rectangular position ranges, the positioning error of the vehicle and the telephone number is considered, and then useful data of telephone numbers which are close to the position where the vehicle is positioned in the same time range can be reserved so as to accurately determine the times that the telephone number appears in the plurality of first positions, and simultaneously, the mode of comparing the geohash character strings is utilized to determine the telephone numbers which are close to the position where the vehicle is positioned in the same time range It is relatively simple.
In a possible design based on the first aspect, the step of determining each of the first locations includes: acquiring a positioning position of the vehicle; and determining position areas taking the positioning positions as centers based on the positioning positions and preset distances, wherein one position area is the first position.
Because the positioning errors of the vehicle and the telephone number are utilized to determine whether the telephone number and the vehicle are present at the same position by utilizing whether the position points coincide or not, not only is useful data of telephone numbers which are present at the position close to the position where the vehicle is present within the same time range easily filtered, therefore, in the implementation process, the position area which takes the positioning position of the vehicle as the center is used for overcoming the positioning errors of the vehicle and the telephone number, so that the telephone number which is present at the same position as the vehicle within the same time range and the number of times of the occurrence of each telephone number are accurately determined.
In a possible design based on the first aspect, determining a location area centered on the positioning location based on the positioning location and a preset distance includes: and determining a circle with the positioning position as a center and the preset distance as a radius as the position area.
In the implementation process, the positioning position is taken as a center, the circle with the preset distance as the radius is taken as the position area, the position area can be reasonably determined, and then the accuracy of determining the telephone numbers which are at the same position as the vehicle in the same time range and the accuracy of the occurrence frequency of each telephone number are further ensured.
In a possible design based on the first aspect, determining a location area centered on the positioning location based on the positioning location and a preset distance includes: determining a preset number of regions with the sizes of the positioning positions around the positioning positions by taking the positioning positions as centers; (ii) a And determining the positioning positions and the areas with the sizes of the preset number of the positioning positions as the position areas.
In the implementation process, the preset number of the regions with the size of the positioning positions are determined around the positioning positions, and the positioning positions and the preset number of the regions with the size of the positioning positions are determined to be the position regions, so that the position regions can be reasonably determined, and the accuracy of determining the telephone numbers which are at the same positions as the vehicle in the same time range and the accuracy of the occurrence frequency of each telephone number are further ensured.
In a possible design based on the first aspect, the method further includes: determining the telephone number with the largest number of occurrences as the telephone number associated with the vehicle.
In the implementation process, the telephone number associated with the vehicle can be determined quickly and accurately by the method.
In a second aspect, an embodiment of the present application provides an association relationship determining method, where the method includes: acquiring a running record of a vehicle; wherein the driving record includes: a plurality of first locations through which the vehicle travels and a first time of day at which the vehicle passes each first location; obtaining a registered location record of a phone number associated with the vehicle; wherein the location record comprises: the telephone number appears at a plurality of second locations and at a second time of occurrence at each second location; for each first position, determining whether the telephone number appears at the first position at the first time and within a preset time length before and after the first time based on the position record of the telephone number; and when the number of times of the telephone number appearing on the plurality of first positions is smaller than a preset value, determining that the vehicle and the telephone number lose the association relationship.
In the implementation process, the lower the frequency of the simultaneous occurrence of the vehicle and the telephone number is, the higher the possibility of representing that the association between the telephone number and the vehicle loses the association relationship is, the number of times that the telephone number and the vehicle simultaneously occur in the same time range is determined by acquiring the driving record of the vehicle, so that when the frequency of the occurrence of the telephone number at the plurality of first positions is less than a preset value, the association relationship between the vehicle and the telephone number is determined to be lost, and the association relationship between the telephone number and the vehicle can be timely and accurately determined without waiting for a vehicle owner to go to a correlation department for telephone number change registration.
In a third aspect, an embodiment of the present application provides an association relationship determining apparatus, where the apparatus includes: a first acquisition unit configured to acquire a travel record of a vehicle; wherein the driving record includes: a plurality of first locations through which the vehicle travels and a first time of day at which the vehicle passes each first location; the telephone number acquisition unit is used for acquiring the telephone number which appears at the first position at the first time and within a preset time length before and after the first time aiming at each first position; a number determination unit configured to determine, for each of a plurality of the telephone numbers, a number of times that the telephone number appears at the plurality of first positions; wherein the greater the number of times, the greater the degree of association characterizing the phone number with the vehicle.
Based on the third aspect, in one possible design, the first location is represented by a geohash string, wherein different geohash strings characterize different rectangular location ranges; the size and the shape of the rectangular position range represented by each geohash character string are the same; the telephone number obtaining unit is specifically configured to obtain a telephone number at the first time and within a preset time length before and after the first time, where the geohash character string is matched with the geohash character string at the first position.
In a possible design according to the third aspect, the step of determining each of the first locations comprises: acquiring a positioning position of the vehicle; and determining position areas taking the positioning positions as centers based on the positioning positions and preset distances, wherein one position area is the first position.
In a possible design based on the third aspect, the apparatus further includes: a telephone number determination unit for determining the telephone number with the largest number of occurrences as the telephone number associated with the vehicle.
In a fourth aspect, an embodiment of the present application provides an association relationship determining apparatus, where the apparatus includes: a second acquisition unit configured to acquire a travel record of the vehicle; wherein the driving record includes: a plurality of first locations through which the vehicle travels and a first time of day at which the vehicle passes each first location; a position record acquisition unit for acquiring a position record of the registered telephone number associated with the vehicle; wherein the location record comprises: the telephone number appears at a plurality of second locations and at a second time of occurrence at each second location; the determining unit is used for determining whether the telephone number appears at the first position at the first time and within a preset time length before and after the first time based on the position record of the telephone number for each first position; and the relationship determining unit is used for determining that the vehicle and the telephone number lose the association relationship when the frequency of the telephone number appearing at the plurality of first positions is less than a preset value.
In a fifth aspect, an embodiment of the present application provides an electronic device, including a processor and a memory connected to the processor, where a computer program is stored in the memory, and when the computer program is executed by the processor, the electronic device is caused to perform the method of the first aspect.
In a sixth aspect, an embodiment of the present application provides a storage medium, where a computer program is stored, and when the computer program runs on a computer, the computer is caused to execute the method of the first aspect.
Additional features and advantages of the present application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the embodiments of the present application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a flowchart of an association relationship determining method provided in an embodiment of the present application.
Fig. 2 is a schematic diagram of a first determination manner of a first position according to an embodiment of the present application.
Fig. 3 is a schematic diagram of a second determination manner of the first position according to an embodiment of the present application.
Fig. 4 is a flowchart of another association relation determining method provided in the embodiment of the present application.
Fig. 5 is a schematic structural diagram of an association relationship determining apparatus according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of another association relation determining apparatus provided in the embodiment of the present application.
Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solution in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Referring to fig. 1, fig. 1 is a flowchart of an association relationship determining method provided in an embodiment of the present application, where the method includes: s100, S200 and S300.
S100: acquiring a running record of a vehicle; wherein the driving record includes: a plurality of first locations through which the vehicle travels and a first time of day to pass each first location.
S200: and for each first position, acquiring the telephone number appearing at the first position at the first time and within a preset time length before and after the first time.
S300: determining, for each of a plurality of said telephone numbers, a number of times that telephone number appears at said plurality of first locations; wherein the greater the number of times, the greater the degree of association characterizing the phone number with the vehicle.
The above method is described in detail below.
When a vehicle runs through a certain gate on a preset road range, equipment arranged at the gate acquires the license plate number of the vehicle and the time when the vehicle passes through the gate, and sends the corresponding relation between the license plate number of the vehicle and the time when the vehicle passes through the gate to a server, and the server correspondingly stores the corresponding relation and the position information of the gate. The preset road can be set according to the requirements of users.
It can be understood that the device installed at the gate may directly send the pre-stored location information of the gate to the server when sending the corresponding relationship to the server, or send the identification information of the gate to the server when sending the corresponding relationship to the server, and the server finds the location information corresponding to the identification based on the pre-stored correspondence between the identification and the location information, and stores the corresponding location information and the corresponding relationship.
In one embodiment, the position information of the gate may be positioning data of a midpoint position of the gate position, or may be positioning data of a position of an arbitrary point on the gate position. The positioning data can be represented by latitude and longitude, and can also be represented by geographic coordinates.
As an embodiment, the step of determining the position information of each of the checkpoints includes: a1 and a 2.
A1: the positioning position of the vehicle is acquired.
The vehicle is a vehicle passing through the gate, and the positioning position of the vehicle may be a midpoint position of a position where the gate is located, a position of any point on the position where the gate is located, or a position as shown in fig. 2, that is, a position where the vehicle actually passes through one side of the gate and a point which is a first preset distance away from the midpoint on the position where the gate is located. Wherein a line formed by the point and the midpoint is perpendicular to the axis of the vehicle. The first preset distance may be determined according to the width of the vehicle, or may be an empirical value.
A2: and determining position areas taking the positioning positions as centers based on the positioning positions and preset distances, wherein one position area is the first position.
The positioning position may be a single point coordinate or an area.
As an embodiment, a2 includes: and determining a circle with the positioning position as a center and the preset distance as a radius as the position area.
The preset distance is set according to actual requirements, and in general, the preset distance is set to enable a vehicle capable of passing through the bayonet to be completely located in the position area when the vehicle is located at the bayonet.
As an embodiment, a2 includes the steps of: a21 and a 22.
A21: and determining the areas with the sizes of the preset number of the positioning positions around the positioning positions by taking the positioning positions as centers.
The preset number can be 4, 6, 8, 10 and the like, and is set according to the requirements of users.
Referring to fig. 3, as an embodiment, when the positioning position is a rectangular area, 8 rectangular position ranges having the same size and shape as the positioning position are determined around the first position with the positioning position as the center.
A22: and determining the positioning positions and the areas with the sizes of the preset number of the positioning positions as the position areas.
In one embodiment, the position area is an area formed by the preset number of rectangular position areas and the positioning positions.
The size and the shape of each rectangular position range can be set according to actual requirements, so that the vehicle can be located in the position area when passing through the bayonet.
The geographic position of a preset geographic range is divided according to a preset rectangular position range in advance to obtain a plurality of rectangular position ranges, and then the GeoHash character strings are used for representing the rectangular position ranges, wherein different GeoHash character strings represent different rectangular position ranges, the size and the shape of the rectangular position range represented by each GeoHash character string are the same, and the size of each rectangular position range is set according to requirements. Thus, as an embodiment, the location information of the bayonet may be represented by a geohash string.
It is understood that, when the position information of the bayonet includes a position area formed by a plurality of rectangular position ranges, the position information of the bayonet is represented by a plurality of geohash character strings.
In an actual implementation process, S100 may be implemented in such a manner that the license plate number of each vehicle that travels through each gate within a preset time period, the time when the vehicle travels through the gate, and the position information of the gate are obtained from the server, and then the travel record of each vehicle within the preset time period is obtained. Wherein the position information of the bayonet is defined as a first position.
For example, the running record of the vehicle 1 is: the vehicle with the license plate number AAA1 passes through the A gate in 10 minutes and 30 seconds at 8 am 2019.11.10, the position information of the A gate is AA1, the position information of the B gate passes through the B gate in 30 minutes and 15 seconds at 8 am 2019.11.10, and the position information of the B gate is BB 1.
The running record of the vehicle 2 is: the vehicle with the license plate number AAA2 passes through the A gate in 10 minutes and 50 seconds at 8 am 2019.11.10, the position information of the A gate is AA2, the vehicle passes through the C gate in 50 minutes and 25 seconds at 8 am 2019.11.10, and the position information of the C gate is CC.
S200: and for each first position, acquiring the telephone number appearing at the first position at the first time and within a preset time length before and after the first time.
The preset time length can be set according to user requirements, wherein the longer the preset time length is, the more the number of the telephone numbers appearing at the first position at the first time and in the preset time length before and after the first time is, and the less the number of the telephone numbers appears at the first position at the first time and in the preset time length before and after the first time is, otherwise, the longer the preset time length is.
When the terminal equipment communicates with the base station, the terminal equipment sends the telephone number representing the identity of the terminal equipment, the positioning position of the terminal equipment at the current time and the time information of the current time to the base station, and the base station stores the corresponding relation among the telephone number information, the positioning position and the time information of the terminal equipment.
As an implementation manner, when a terminal device communicates with a base station, the terminal device sends a phone number representing the identity of the terminal device to the base station, the base station determines the current position of the terminal device according to the received signal strength of a signal sent by the terminal device, and the base station stores the corresponding relationship between the phone number information of the terminal device, the positioning position and the time information of the signal sent by the terminal device.
As an implementation manner, the geographic location of a preset geographic range is divided in advance according to a preset rectangular location range to obtain a plurality of rectangular location ranges, a geohash character string is used to represent each rectangular location range, and the corresponding relationship between the rectangular location range and the geohash character string is stored, after the base station obtains the location information of the terminal device, the rectangular location range where the location position of the terminal device is located is determined based on the plurality of rectangular location ranges, it can be understood that, when the location position of the terminal device is located within a certain matrix location range, the terminal device is represented to be located in the matrix location range, and then, a geohash character string corresponding to the matrix location range is found from the corresponding relationship between the prestored rectangular location range and the geohash character string, wherein the corresponding geohash character string represents the location of the terminal device at the current time, and then after the corresponding geohash character string is obtained, storing the corresponding geohash character string, the current time and the corresponding relation of the telephone number.
For each first position, obtaining a plurality of telephone numbers which are communicated with the base station at a first time and within a preset time length before and after the first time from a base station closest to the first position or all base stations in a circular area with a second preset distance as a radius and taking the first position as a center, and position information of each telephone number in the plurality of telephone numbers, comparing the position information of the telephone number with the first position for each telephone number in the plurality of telephone numbers, and when the position information of the telephone number is matched with the first position, determining that the telephone number is the telephone number which appears at the first position within the first time and the preset time length before and after the first time.
When the first position is a positioning position and the positioning position is a single-point coordinate, if the position information of the telephone number is overlapped with the first position, the position information of the telephone number is determined to be matched with the first position, otherwise, the position information of the telephone number is determined not to be matched with the first position.
When the first position is a position area, if the position of the telephone number is in the position area, determining that the position information of the telephone number is matched with the first position, otherwise, determining that the position information of the telephone number is not matched.
If the first location is represented by a geohash string, S200 includes:
and acquiring the telephone number of the matching of the geohash character string and the geohash character string at the first position at the first time and within a preset time length before and after the first time.
For each of the obtained plurality of telephone numbers, if only one geohash character string representing the first position exists, comparing the geohash character string representing the position of the telephone number with the geohash character string representing the first position, and if the geohash character string representing the position of the telephone number is completely the same as the geohash character string representing the first position, determining that the position information of the telephone number is matched with the first position, otherwise, determining that the position information of the telephone number is not matched.
And if the at least two geohash character strings represent the first position, comparing the geohash character string representing the position of the telephone number with the at least two geohash character strings representing the first position one by one, and if one of the at least two geohash character strings is the same as the geohash character string representing the position of the telephone number, determining that the position information of the telephone number is matched with the first position, otherwise, determining that the position information of the telephone number is not matched.
For each first location, after acquiring information of the phone number appearing at the first location at the first time and within a preset time period before and after the first time, executing step S300: determining, for each of a plurality of said telephone numbers, a number of times that telephone number appears at said plurality of first locations; wherein the greater the number of times, the greater the degree of association characterizing the phone number with the vehicle.
For each of the plurality of telephone numbers and for each of the plurality of first locations, when the telephone number appears at the first location within a first preset time and a duration before and after the first preset time, determining that the telephone number appears at the first location once, and then obtaining the number of times that each telephone number appears at the plurality of first locations.
For example: the driving record of the vehicle includes: the vehicle with the license plate number AAA1 passes through the A gate in 10 minutes and 30 seconds at 8 am of 2019.11.10, the position information of the A gate is AA1, the position information of the B gate passes through the B gate in 30 minutes and 15 seconds at 8 am of 2019.11.10, the position information of the B gate is BB1, the position information of the A gate passes through the C gate in 10 minutes and 30 seconds at 9 am of 2019.11.10, and the position information of the A gate is CC 1.
Wherein, the telephone numbers appearing at the A checkpoint in 2019.11.10 AM 8 am 10 min 30 sec and the preset time periods before and after comprise: a telephone number and B telephone number, the telephone number appearing at the B-port in 2019.11.10 am at 8 o' clock 30 min 30 sec and within a preset time period before and after the A-telephone number comprises: a telephone number and C telephone number, the telephone number appearing at the C-card at 2019.11.10 am at 9 minutes and 30 seconds and within a preset time period before and after the time comprises: a phone number and d phone number.
Therefore, the number of occurrences of the a-phone number at the plurality of first positions is 3, the number of occurrences of the b-phone number at the plurality of first positions is 1, and the number of occurrences of the c-phone number at the plurality of first positions is 1. Since the a-phone number occurs the most often, the a-phone number is most closely associated with the vehicle having the license plate number AAA 1.
As an embodiment, the method further comprises: determining the telephone number with the largest number of occurrences as the telephone number associated with the vehicle.
For the driving record of the vehicle, after the number of times that each telephone number appears at the plurality of first positions in the driving record of the vehicle is determined, the telephone number with the largest number of times of appearance is determined by comparing the number of times of appearance of each telephone number, and then the telephone number with the largest number of times of appearance is determined to be associated with the vehicle.
Referring to fig. 4, fig. 4 is a schematic flow chart of another method for determining an association relationship according to an embodiment of the present application, where the method includes:
s400: acquiring a running record of a vehicle; wherein the driving record includes: a plurality of first locations through which the vehicle travels and a first time of day to pass each first location.
The running records of the vehicles in the preset time period can be inquired from a server which stores the running records of all the vehicles in advance according to the license plate numbers of the vehicles which are acquired in advance.
The embodiment of S100 may be directly employed to acquire the travel record of any vehicle.
The manner of obtaining the driving record of the vehicle may refer to the implementation of S100, and therefore, the details are not repeated herein.
S500: obtaining a registered location record of a phone number associated with the vehicle; wherein the location record comprises: the telephone numbers appear at a plurality of second locations and at a second time at each of the second locations.
For each vehicle, after the driving track of the vehicle is acquired, the telephone number corresponding to the vehicle is found out based on the corresponding relation between the vehicle and the telephone number stored in advance, and then the position record of the corresponding telephone number in the preset time period is acquired from each base station.
S600: and for each first position, determining whether the telephone number appears at the first position at the first time and within a preset time length before and after the first time based on the position record of the telephone number.
It is understood that, for each first location, it is determined whether a second time identical to any one of the first time and a time within a preset time period before and after the first time exists in the location record of the phone number, if so, it is determined from the location record that the second location where the phone number is located at the second time exists, if the second location where the phone number is located at the second time matches the first location, it is determined whether the phone number is present at the first location at the first time and within the preset time period before and after the first time, otherwise, it is determined that the phone number is not present at the first location at the first time and within the preset time period before and after the first time.
S200 may be referred to in the specific implementation of determining whether the second location where the phone number is located at the second time matches the first location, and therefore, details are not described herein again.
After determining whether the phone number is present at each of the plurality of first locations, performing step S700: and when the frequency of the telephone numbers appearing at the plurality of first positions is less than a preset value, determining that the vehicle and the telephone numbers lose the association relationship.
For each first position in the plurality of first positions, after determining whether the telephone number appears at the first position, determining a first number of times that the telephone number appears at the plurality of first positions, determining a second number of times that the vehicle appears at the plurality of first positions in the vehicle driving track, determining a quotient of the first number of times and the second number of times as the frequency that the telephone number appears at the plurality of first positions, and determining that the vehicle and the telephone number lose association when the frequency is smaller than the preset value by comparing the frequency with the preset value.
Dialogs, concepts or ways of determination of position, similar to the foregoing
Referring to fig. 5, fig. 5 is a schematic structural diagram of an association relationship apparatus according to an embodiment of the present application, where the apparatus includes:
a first acquisition unit 410 for acquiring a travel record of the vehicle; wherein the driving record includes: a plurality of first locations through which the vehicle travels and a first time of day to pass each first location.
A phone number obtaining unit 420, configured to obtain, for each first location, a phone number that appears at the first location at the first time and within a preset time period before and after the first time.
A number determining unit 430, configured to determine, for each of a plurality of the telephone numbers, a number of times that the telephone number appears at the plurality of first positions; wherein the greater the number of times, the greater the degree of association characterizing the phone number with the vehicle.
As an embodiment, the first location is represented by a geohash string, wherein different geohash strings represent different rectangular location ranges; the size and the shape of the rectangular position range represented by each geohash character string are the same; the phone number obtaining unit 420 is specifically configured to obtain a phone number at the first time and within a preset time length before and after the first time, where the geohash character string is matched with the geohash character string at the first location.
As one embodiment, the step of determining each of the first locations includes: acquiring a positioning position of the vehicle; and determining a position area taking the positioning position as a center based on the positioning position and a preset distance.
As an embodiment, the apparatus further comprises: a telephone number determination unit for determining the telephone number with the largest number of occurrences as the telephone number associated with the vehicle.
For the process of implementing each function by each functional unit in this embodiment, please refer to the content described in the embodiments shown in fig. 1 to fig. 3, which is not described herein again.
Referring to fig. 6, fig. 6 is a schematic structural diagram of another association relationship apparatus provided in an embodiment of the present application, where the apparatus includes:
a second obtaining unit 510 for obtaining a running record of the vehicle; wherein the driving record includes: a plurality of first locations through which the vehicle travels and a first time of day to pass each first location.
A location record acquisition unit 520 for acquiring a location record of the registered phone number associated with the vehicle; wherein the location record comprises: the telephone numbers appear at a plurality of second locations and at a second time at each of the second locations.
A determining unit 530, configured to determine, for each first location, whether the phone number appears at the first location at the first time and within a preset time period before and after the first time based on the location record of the phone number.
And the relationship determining unit 540 is used for determining that the vehicle and the telephone number lose the association relationship when the frequency of the telephone number appearing at the plurality of first positions is less than a preset value.
Please refer to the content described in the embodiment shown in fig. 4 for the process of implementing each function by each functional unit in this embodiment, which is not described herein again.
Referring to fig. 7, fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure, which is applied to the association relationship determining method described in fig. 1 and fig. 4, in the embodiment of the present disclosure, the electronic device 100 may be a tablet computer, a smart phone, a Personal Digital Assistant (PDA), or the like.
The electronic device may include: memory 102, processing 101, and a communication bus for enabling connection communication of these components.
The Memory 102 is used for recording a driving record of a vehicle and a position of a phone number, determining an association relationship and determining various data such as a computer program instruction corresponding to the device provided in the embodiment of the present application, wherein the Memory 102 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), and the like.
The processor 101 is configured to execute the incidence relation determining method provided in the embodiment of the present application when reading and running the computer program instruction corresponding to the incidence relation determining method stored in the memory.
The processor 101 may be an integrated circuit chip having signal processing capability. The Processor 101 may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also a Digital Signal Processor (DSP), discrete gate or transistor logic, discrete hardware components.
In addition, a storage medium is provided in an embodiment of the present application, and a computer program is stored in the storage medium, and when the computer program runs on a computer, the computer is caused to execute the method provided in any embodiment of the present application.
In summary, the association relationship determining method, apparatus, electronic device and storage medium provided in the embodiments of the present application, since the more times the vehicle and the mobile phone number card appear at the same time, the greater the degree of characterizing the association of the mobile phone number with the vehicle, and therefore, determining a plurality of telephone numbers which are simultaneously present at the same position in the same time range as the vehicle according to the driving record of the vehicle, then determining the number of times that each telephone number in the plurality of telephone numbers is present at a plurality of first positions in the driving record of the vehicle, the more the times, the greater the association degree of the telephone number and the vehicle is represented, and the telephone number in association with the vehicle and the association degree of the telephone number in association with the vehicle can be determined without waiting for a vehicle owner to go to a correlation department for telephone number change registration.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based devices that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (11)

1. An association relation determining method, characterized in that the method comprises:
acquiring a running record of a vehicle; wherein the driving record includes: a plurality of first locations through which the vehicle travels and a first time of day at which the vehicle passes each first location;
for each first position, acquiring the telephone number appearing at the first position at the first time and within a preset time length before and after the first time;
determining, for each of a plurality of said telephone numbers, a number of times that telephone number appears at said plurality of first locations; wherein the greater the number of times, the greater the degree of association characterizing the phone number with the vehicle.
2. The method of claim 1, wherein the first location is represented by a geohash string, wherein different geohash strings characterize different rectangular ranges of locations; the size and the shape of the rectangular position range represented by each geohash character string are the same;
the acquiring of the phone number appearing at the first position at the first time and within a preset time before and after the first time includes:
and acquiring the telephone number of the matching of the geohash character string and the geohash character string at the first position at the first time and within a preset time length before and after the first time.
3. The method of claim 1 or 2, wherein the step of determining each of the first locations comprises:
acquiring a positioning position of the vehicle;
and determining position areas taking the positioning positions as centers based on the positioning positions and preset distances, wherein one position area is the first position.
4. The method of claim 3, wherein determining a location area centered at the location position based on the location position and a preset distance comprises:
and determining a circle with the positioning position as a center and the preset distance as a radius as the position area.
5. The method of claim 3, wherein determining a location area centered at the location position based on the location position and a preset distance comprises:
determining a preset number of regions with the sizes of the positioning positions around the positioning positions by taking the positioning positions as centers;
and determining the positioning positions and the areas with the sizes of the preset number of the positioning positions as the position areas.
6. The method of claim 1, further comprising:
determining the telephone number with the largest number of occurrences as the telephone number associated with the vehicle.
7. An association relation determining method, characterized in that the method comprises:
acquiring a running record of a vehicle; wherein the driving record includes: a plurality of first locations through which the vehicle travels and a first time of day at which the vehicle passes each first location;
obtaining a registered location record of a phone number associated with the vehicle; wherein the location record comprises: the telephone number appears at a plurality of second locations and at a second time of occurrence at each second location;
for each first position, determining whether the telephone number appears at the first position at the first time and within a preset time length before and after the first time based on the position record of the telephone number;
and when the frequency of the telephone numbers appearing at the plurality of first positions is less than a preset value, determining that the vehicle and the telephone numbers lose the association relationship.
8. An association relationship determination apparatus, characterized in that the apparatus comprises:
a first acquisition unit configured to acquire a travel record of a vehicle; wherein the driving record includes: a plurality of first locations through which the vehicle travels and a first time of day at which the vehicle passes each first location;
the telephone number acquisition unit is used for acquiring the telephone number which appears at the first position at the first time and within a preset time length before and after the first time aiming at each first position;
a number determination unit configured to determine, for each of a plurality of the telephone numbers, a number of times that the telephone number appears at the plurality of first positions; wherein the greater the number of times, the greater the degree of association characterizing the phone number with the vehicle.
9. An association relationship determination apparatus, characterized in that the apparatus comprises:
a second acquisition unit configured to acquire a travel record of the vehicle; wherein the driving record includes: a plurality of first locations through which the vehicle travels and a first time of day at which the vehicle passes each first location;
a position record obtaining unit for obtaining a position record of the telephone number; wherein the location record comprises: the telephone number appears at a plurality of second locations and at a second time of occurrence at each second location;
the determining unit is used for determining whether the telephone number appears at the first position at the first time and within a preset time length before and after the first time based on the position record of the telephone number for each first position;
and the relationship determining unit is used for determining that the vehicle and the telephone number lose the association relationship when the frequency of the telephone number appearing at the plurality of first positions is less than a preset value.
10. An electronic device comprising a memory and a processor, the memory having stored therein computer program instructions, wherein the computer program instructions, when read and executed by the processor, perform the method of any of claims 1-7.
11. A storage medium having stored thereon computer program instructions which, when read and executed by a computer, perform the method of any one of claims 1-7.
CN201911321606.4A 2019-12-19 2019-12-19 Incidence relation determining method and device, electronic equipment and storage medium Pending CN111177487A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911321606.4A CN111177487A (en) 2019-12-19 2019-12-19 Incidence relation determining method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911321606.4A CN111177487A (en) 2019-12-19 2019-12-19 Incidence relation determining method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111177487A true CN111177487A (en) 2020-05-19

Family

ID=70655543

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911321606.4A Pending CN111177487A (en) 2019-12-19 2019-12-19 Incidence relation determining method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111177487A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104269056A (en) * 2014-09-26 2015-01-07 武汉烽火众智数字技术有限责任公司 Method and system for accurately positioning vehicle passing checkpoint
CN104468787A (en) * 2014-12-09 2015-03-25 浪潮电子信息产业股份有限公司 Man-vehicle association identification method based on big data
CN105701123A (en) * 2014-11-27 2016-06-22 阿里巴巴集团控股有限公司 Passenger-vehicle relationship identification method and apparatus
US9769616B1 (en) * 2017-04-04 2017-09-19 Lyft, Inc. Geohash-related location predictions
CN110517500A (en) * 2018-05-21 2019-11-29 上海大唐移动通信设备有限公司 A kind of people's vehicle association process method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104269056A (en) * 2014-09-26 2015-01-07 武汉烽火众智数字技术有限责任公司 Method and system for accurately positioning vehicle passing checkpoint
CN105701123A (en) * 2014-11-27 2016-06-22 阿里巴巴集团控股有限公司 Passenger-vehicle relationship identification method and apparatus
CN104468787A (en) * 2014-12-09 2015-03-25 浪潮电子信息产业股份有限公司 Man-vehicle association identification method based on big data
US9769616B1 (en) * 2017-04-04 2017-09-19 Lyft, Inc. Geohash-related location predictions
CN110517500A (en) * 2018-05-21 2019-11-29 上海大唐移动通信设备有限公司 A kind of people's vehicle association process method and device

Similar Documents

Publication Publication Date Title
US10645072B2 (en) Method and system for validating transactions
US8903424B2 (en) System and method for dynamically monitoring status in location services
US9727867B2 (en) Method for detecting misuse of identity in electronic transactions
US7832636B2 (en) Method and system for authenticating use of item
US8260316B2 (en) Movement distance falsification preventing system and method
CN105792124B (en) Positioning method and device
CN107820210B (en) Sign-in method, mobile terminal and computer readable storage medium
KR102051618B1 (en) Bus fare automatic payment system and method
CN105144140A (en) Systems and methods for telematics control and communications
CN107508883A (en) Information-pushing method, device, storage medium and mobile terminal
CN107563579A (en) Vehicles management method and server
CN108428099A (en) Field personnel staff attendance management-control method, application server and computer readable storage medium
CN111353176B (en) Method and system for inquiring block chain data
US20200126060A1 (en) Method of reducing fraud in on-line transactions
US20230359990A1 (en) Transitioning inventory search from large geographic area to immediate personal area
JP7146097B2 (en) Attendance evaluation method for tunnel construction vehicle, computer device, and computer-readable storage medium
JP2004252964A (en) Location certification system
CN105072105A (en) Message marking processing method and processing system based on intelligent terminal
CN111177487A (en) Incidence relation determining method and device, electronic equipment and storage medium
CN108280375A (en) A kind of mobile terminal that can prevent illegal brush machine
CN116884104A (en) Attendance checking and card punching method and device, electronic equipment and storage medium
CN114093054A (en) Vehicle checking method, device, equipment and storage medium
KR101850494B1 (en) Server, system and method for host matching
US20160073228A1 (en) System and method for generating expected geolocations of mobile computing devices
CN111858798A (en) Method for automatically identifying track data coordinate system, method for displaying track of positioning product on map, storage medium and electronic equipment

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20200519