CN108900704B - Method and system for identifying public transport trip of mobile phone user - Google Patents

Method and system for identifying public transport trip of mobile phone user Download PDF

Info

Publication number
CN108900704B
CN108900704B CN201810660596.6A CN201810660596A CN108900704B CN 108900704 B CN108900704 B CN 108900704B CN 201810660596 A CN201810660596 A CN 201810660596A CN 108900704 B CN108900704 B CN 108900704B
Authority
CN
China
Prior art keywords
mobile phone
period
phone terminal
identified
bus stop
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
CN201810660596.6A
Other languages
Chinese (zh)
Other versions
CN108900704A (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
Original Assignee
China United Network Communications Group 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 filed Critical China United Network Communications Group Co Ltd
Priority to CN201810660596.6A priority Critical patent/CN108900704B/en
Publication of CN108900704A publication Critical patent/CN108900704A/en
Application granted granted Critical
Publication of CN108900704B publication Critical patent/CN108900704B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)
  • Traffic Control Systems (AREA)

Abstract

The invention discloses a method and a system for identifying public transport trips of mobile phone users, comprising the following steps: step S1, acquiring identification data of the mobile phone terminal in a period to be identified; step S2, determining a bus stop closest to the mobile phone terminal at the starting time of the period to be identified, recording the bus stop as a first bus stop, and calculating a first distance between the mobile phone terminal and the first bus stop; step S3, determining a bus stop closest to the mobile phone terminal at the ending time of the period to be identified, recording the bus stop as a second bus stop, and calculating a second distance between the mobile phone terminal and the second bus stop; and step S4, identifying whether the travel mode of the mobile phone terminal holding user in the period to be identified is a bus travel or not according to the first distance and the second distance. According to the technical scheme, whether the travel mode of the user holding the mobile phone terminal in the period to be identified is bus travel or not can be effectively identified, and the research range in the field of user behavior analysis is widened.

Description

Method and system for identifying public transport trip of mobile phone user
Technical Field
The invention relates to the technical field of intelligent transportation, in particular to a method and a system for identifying public transport trips of mobile phone users.
Background
The existing mobile phone user travel behavior analysis still stays on a shallow layer, for example, travel tracks, travel time and the like of the user are analyzed based on a positioning and tracking technology; currently, there is no relevant technical means to identify specific individual travel modes, such as determining whether a mobile phone user travels in a bus in a specific time period.
Disclosure of Invention
The invention aims to at least solve one of the technical problems in the prior art and provides a method and a system for identifying bus trips of mobile phone users.
In order to achieve the purpose, the invention provides a method for identifying public transport trips of a mobile phone user, which comprises the following steps:
step S1, obtaining identification data of the mobile phone terminal in a period to be identified, where the identification data in the period to be identified includes: the starting time of the period to be identified, the ending time of the period to be identified, the position information of the mobile phone terminal at the starting time of the period to be identified and the position information of the mobile phone terminal at the ending time of the period to be identified;
step S2, according to the position information of the mobile phone terminal at the starting time of the period to be identified, determining a bus stop closest to the mobile phone terminal at the starting time of the period to be identified, marking as a first bus stop, and calculating a first distance between the mobile phone terminal and the first bus stop;
step S3, according to the position information of the mobile phone terminal at the ending time of the period to be identified, determining a bus stop closest to the mobile phone terminal at the ending time of the period to be identified, marking the bus stop as a second bus stop, and calculating a second distance between the mobile phone terminal and the second bus stop;
and S4, identifying whether the travel mode of the mobile phone terminal holding user in the period to be identified is a bus travel or not according to the first distance and the second distance.
Optionally, the location information includes: latitude and longitude information.
Optionally, before step S1, the method further includes:
step S01, obtaining characteristic data elements of a user trip mode of the mobile phone terminal in real time, and recording the characteristic data elements as (a, b, c), wherein a is a vibration displacement number of the mobile phone terminal in the vertical direction, b is longitude and latitude information of the mobile phone terminal, and c is a data acquisition time;
step S02, determining a measure vibration-free time period of the mobile phone terminal according to the acquired vertical vibration displacement data, wherein identification data of the measure vibration-free time period are marked as [ (a1, b1, c1), (a2, b2, c2) ];
wherein, (a1, b1, c1) represents the user travel mode feature data elements acquired at the starting time of the measure no-vibration period, (a2, b2, c2) represents the user travel mode feature data elements acquired at the ending time of the measure no-vibration period;
[ (a1, b1, c1), (a2, b2, c2) ] satisfies the following condition:
c1 is selected from a moment when the vertical direction vibration displacement number of the mobile phone terminal jumps from non-zero to zero, c2 is selected from a moment when the vertical direction vibration displacement number of the mobile phone terminal jumps from zero to non-zero, and c1 and c2 satisfy: c2-c1 is more than or equal to alpha, and alpha is a preset constant;
the measure of the user travel pattern feature data elements collected in the time period from c1 to c2 constituting the four-dimensional space curve with the endpoints of (a1, b1, c1) and (a2, b2, c2) is 0; wherein, the measure of the four-dimensional space curve refers to: projecting the four-dimensional space curve phi to a three-dimensional space where the (a, b) is located to obtain a three-dimensional space curve gamma, projecting the three-dimensional space curve gamma to a plane where the longitude and latitude information b is located to obtain a two-dimensional space curve L, and measuring a three-dimensional space curved surface area S defined by the three-dimensional space curve gamma and the two-dimensional space curve L to obtain a four-dimensional space curve phi;
in step S1, the period to be identified is the measure shockless period.
Optionally, step S4 includes:
step S401, judging whether the first distance and the second distance are both smaller than a first preset distance;
if the first distance and the second distance are both smaller than the first preset distance, executing step S402; otherwise, go to step S404;
step S402, judging whether buses passing through the first bus stop and the second bus stop in sequence exist or not based on the bus running line data;
if the buses passing through the first bus stop and the second bus stop in sequence are judged to exist, executing the step S403; otherwise, go to step S404;
step S403, identifying that the travel mode of the user holding the mobile phone terminal in the period to be identified is bus travel;
and S404, recognizing that the travel mode of the mobile phone terminal holding user in the period to be recognized is not bus travel.
In order to achieve the above object, the present invention further provides a system for identifying public transport trips of a mobile phone user, comprising:
the first obtaining module is used for obtaining identification data of the mobile phone terminal in a period to be identified, wherein the identification data in the period to be identified comprises: the starting time of the period to be identified, the ending time of the period to be identified, the position information of the mobile phone terminal at the starting time of the period to be identified and the position information of the mobile phone terminal at the ending time of the period to be identified;
the first determining module is used for determining a bus stop closest to the mobile phone terminal at the starting time of the period to be identified according to the position information of the mobile phone terminal at the starting time of the period to be identified, marking the bus stop as a first bus stop, and calculating a first distance between the mobile phone terminal and the first bus stop;
the second determining module is used for determining a bus stop closest to the mobile phone terminal at the ending time of the period to be identified according to the position information of the mobile phone terminal at the ending time of the period to be identified, marking the bus stop as a second bus stop, and calculating a second distance between the mobile phone terminal and the second bus stop;
and the identification module is used for identifying whether the travel mode of the mobile phone terminal holding user in the period to be identified is bus travel or not according to the first distance and the second distance.
Optionally, the location information includes: latitude and longitude information.
Optionally, the method further comprises:
the system comprises an acquisition module, a data acquisition module and a data acquisition module, wherein the acquisition module is used for acquiring characteristic data elements of a user trip mode of a mobile phone terminal in real time and is marked as (a, b and c), wherein a is a vibration displacement number of the mobile phone terminal in the vertical direction, b is longitude and latitude information of the mobile phone terminal, and c is a data acquisition moment;
a third determining module, configured to determine a measure vibration-free time period of the mobile phone terminal according to the acquired vertical direction vibration displacement data, where identification data of the measure vibration-free time period is denoted as [ (a1, b1, c1), (a2, b2, c2) ];
wherein, (a1, b1, c1) represents the user travel mode feature data elements acquired at the starting time of the measure no-vibration period, (a2, b2, c2) represents the user travel mode feature data elements acquired at the ending time of the measure no-vibration period;
[ (a1, b1, c1), (a2, b2, c2) ] satisfies the following condition:
c1 is selected from a moment when the vertical direction vibration displacement number of the mobile phone terminal jumps from non-zero to zero, c2 is selected from a moment when the vertical direction vibration displacement number of the mobile phone terminal jumps from zero to non-zero, and c1 and c2 satisfy: c2-c1 is more than or equal to alpha, and alpha is a preset constant;
the measure of the user travel pattern feature data elements collected in the time period from c1 to c2 constituting the four-dimensional space curve with the endpoints of (a1, b1, c1) and (a2, b2, c2) is 0; wherein, the measure of the four-dimensional space curve refers to: projecting the four-dimensional space curve phi to a three-dimensional space where the (a, b) is located to obtain a three-dimensional space curve gamma, projecting the three-dimensional space curve gamma to a plane where the longitude and latitude information b is located to obtain a two-dimensional space curve L, and measuring a three-dimensional space curved surface area S defined by the three-dimensional space curve gamma and the two-dimensional space curve L to obtain a four-dimensional space curve phi;
in the first acquisition module, the period to be identified is the measurement vibration-free period.
Optionally, the identification module comprises:
the first judging unit is used for judging whether the first distance and the second distance are both smaller than a first preset distance;
the second judging unit is used for judging whether buses passing through the first bus stop and the second bus stop in sequence exist or not based on the bus running line data when the first judging unit judges that the first distance and the second distance are both smaller than the first preset distance;
the first identification unit is used for identifying that the travel mode of the mobile phone terminal holding user in the period to be identified is bus travel when the second judgment unit judges that buses sequentially pass through the first bus stop and the second bus stop exist;
and the second identification unit is used for identifying that the user holding the mobile phone terminal is in the trip mode of the time period to be identified is not bus trip when the first judgment unit judges that at least one of the first distance and the second distance is greater than or equal to the second preset distance or the second judgment unit judges that the buses passing through the first bus stop and the second bus stop in sequence do not exist.
Optionally, the acquisition module and the third determination module are integrated in the mobile phone terminal;
the first obtaining module, the first determining module, the second determining module and the identifying module are arranged in a cloud platform.
The invention has the following beneficial effects:
the invention provides a method and a system for identifying public transport trips of mobile phone users, which can effectively identify whether the trip mode of the mobile phone terminal holding users in the time period to be identified is public transport trips according to identification data of the mobile phone terminal in the time period to be identified, and enrich the research range in the field of user behavior analysis.
Drawings
Fig. 1 is a flowchart of a method for identifying public transportation trips of a mobile phone user according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a step S4 according to the present invention;
fig. 3 is a flowchart of a method for identifying public transportation trips of a mobile phone user according to a second embodiment of the present invention;
fig. 4 is a block diagram of a structure of a system for identifying public transportation trips of a mobile phone user according to a third embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the method and system for identifying bus trips of a mobile phone user provided by the present invention are described in detail below with reference to the accompanying drawings.
The method and the system for identifying the mobile phone user bus trip provided by the invention can be used for identifying whether the mobile phone user adopts the bus trip at a certain specific time period.
Fig. 1 is a flowchart of a method for identifying a public transportation trip of a mobile phone user according to an embodiment of the present invention, and as shown in fig. 1, the method includes:
and step S1, acquiring the identification data of the mobile phone terminal in the period to be identified.
The identification data of the mobile phone terminal in the period to be identified comprises: the mobile phone terminal comprises the starting time of the period to be identified, the ending time of the period to be identified, the position information of the mobile phone terminal at the starting time of the period to be identified and the position information of the mobile phone terminal at the ending time of the period to be identified.
For convenience of description, the identification data of the period to be recognized is denoted as [ (a1, B1), (a2, B2) ], where a1 represents the start time of the period to be recognized, a2 represents the end time of the period to be recognized, B1 represents the position information of the handset terminal at the start time of the period to be recognized, and B2 represents the position information of the handset terminal at the end time of the period to be recognized. Optionally, the location information is latitude and longitude information.
And step S2, according to the position information of the mobile phone terminal at the starting time of the period to be identified, determining the bus stop closest to the mobile phone terminal at the starting time of the period to be identified, recording the bus stop as a first bus stop, and calculating the first distance between the mobile phone terminal and the first bus stop.
According to the pre-acquired bus running route data and the position information B1, a bus stop closest to the position information B1 is determined and recorded as a first bus stop, and a first distance between the first bus stop and the position information B1 is calculated.
It should be noted that the bus operation route data in the present invention includes two parts, wherein one part records the position information of all bus stops in the bus operation network, and the other part records the driving route of each bus (stop-and-go bus stop) in the bus operation network.
In step S2, as an alternative, the distance between the position information B1 and each bus stop in the bus operation network may be calculated, and then the calculated distances may be sorted to determine the first bus stop closest to the position information B1 and the corresponding first distance.
It should be noted that other manners may also be adopted in the present invention to determine the first bus stop closest to the position information B1 and the corresponding first distance; for example, whether a bus stop exists is searched in an area with the position information B1 as a center and a preset length (which can be adjusted according to actual conditions) as a radius; if not, increasing the value of the preset length, and searching again; if 1 bus stop exists, the bus stop is a first bus stop, and a first distance between the first bus stop and the position information B1 is calculated; if 2 or more bus stops exist, the distances between the bus stops and the position information B1 are respectively calculated, the bus stop with the minimum distance is the first bus stop, and the minimum distance is the first distance. In the present invention, the technical means employed to determine the first bus stop and the first distance are not limited.
And step S3, according to the position information of the mobile phone terminal at the ending time of the period to be identified, determining the bus stop closest to the mobile phone terminal at the ending time of the period to be identified, recording the bus stop as a second bus stop, and calculating a second distance between the mobile phone terminal and the second bus stop.
Based on the same principle as in step S2, the second bus stop closest to the position information B2 and the corresponding second distance may be determined.
In the present invention, the technical means used for determining the second bus stop and the second distance is not limited.
The bus stops closest to the mobile phone terminal at the starting time and the ending time of the period to be identified and the corresponding distances can be determined through the steps S2 and S3.
And step S4, identifying whether the travel mode of the mobile phone terminal holding user in the period to be identified is a bus travel or not according to the first distance and the second distance.
In step S4, it can be identified whether the holding user of the mobile phone terminal is on a bus trip in the period to be identified according to a first distance between the mobile phone terminal and a first bus stop closest to the mobile phone terminal at the start time of the period to be identified and a second distance between the mobile phone terminal and a second bus stop closest to the mobile phone terminal at the end time of the period to be identified.
Fig. 2 is a specific flowchart of step S4 in the present invention, and as shown in fig. 2, as an alternative, step S4 includes:
step S401, judging whether the first distance and the second distance are both smaller than a first preset distance.
In step S401, if it is determined that both the first distance and the second distance are smaller than the first preset distance, step S402 is executed; otherwise, step S404 is performed.
And S402, judging whether buses passing through the first bus stop and the second bus stop in sequence exist or not based on the bus running line data.
The running routes of the buses are recorded in the bus running route data, and the running routes of the buses can be screened to determine whether the buses passing through the first bus stop and the second bus stop in sequence exist.
In step S402, if it is determined that there are buses passing through the first bus stop and the second bus stop in sequence, step S403 is executed; otherwise, step S404 is performed.
And S403, recognizing that the travel mode of the user holding the mobile phone terminal in the period to be recognized is bus travel.
And S404, recognizing that the travel mode of the holding user of the mobile phone terminal in the period to be recognized is not bus travel.
Through the steps S401 to S404, whether the mobile phone terminal user is in a bus trip or not in the period to be identified can be identified.
It should be noted that, in step S4, other algorithms may be further used to identify whether the holding user of the mobile phone terminal uses a bus trip in the period to be identified. For example, when it is determined that both the first distance and the second distance are smaller than the first preset distance, the travel mode of the user holding the mobile terminal in the period to be identified is directly identified as a bus travel (the determination in step S402 is not required). It should be known to those skilled in the art that all technical means for identifying whether the travel mode of the mobile phone terminal holding user in the period to be identified is bus travel based on the first distance and the second distance belong to the protection scope of the present invention.
The embodiment of the invention provides a method for identifying public transport trips of a mobile phone user, which can effectively identify whether the trip mode of the mobile phone terminal holding user in the period to be identified is public transport trips or not according to identification data of the mobile phone terminal in the period to be identified, and enriches the research range of the user behavior analysis field.
Fig. 3 is a flowchart of a method for identifying a bus trip of a mobile phone user according to a second embodiment of the present invention, and as shown in fig. 3, the method includes:
and step S01, acquiring the user travel mode characteristic data element of the mobile phone terminal in real time.
In step S01, relevant data of the mobile phone terminal may be collected in real time, where the relevant data includes: the vertical direction vibration displacement number of the mobile phone terminal, the longitude and latitude information of the mobile phone terminal and the data acquisition time. Each time the relevant data is collected, one user trip mode characteristic data element can be generated by packaging and is marked as (a, b, c); wherein, a is the vertical vibration displacement number of the mobile phone terminal, b is the longitude and latitude information of the mobile phone terminal, and c is the data acquisition time.
The packaging format of the user travel mode feature data elements is as follows:
number of vertical vibration displacements Latitude and longitude information Time of data collection
a b c
And step S02, determining the measure vibration-free time period of the mobile phone terminal according to the acquired vibration displacement data in the vertical direction.
In step S02, based on the data of the vertical vibration displacement number of the mobile phone terminal obtained in step S01 changing with time, a measure vibration-free time period of the mobile phone terminal may be determined, and the identification data of the measure vibration-free time period are marked as [ (a1, b1, c1), (a2, b2, c2) ]; wherein, (a1, b1, c1) represents the user travel mode feature data elements acquired at the starting time of the measure no-vibration period, (a2, b2, c2) represents the user travel mode feature data elements acquired at the ending time of the measure no-vibration period;
[ (a1, b1, c1), (a2, b2, c2) ] satisfies the following condition:
under the condition one, c1 is selected from a time when the vertical direction vibration displacement number of the mobile phone terminal jumps from non-zero to zero, and c2 is selected from a time when the vertical direction vibration displacement number of the mobile phone terminal jumps from zero to non-zero.
It should be noted that, when the holding user of the mobile phone terminal is in a bus riding state, since the vehicle runs relatively stably, the mobile phone terminal basically does not generate vibration displacement in the vertical direction, and therefore, in the time period of taking the bus, the vertical vibration displacement number of the mobile phone terminal is continuously zero.
For convenience of description, at any time t, if the vibration displacement number of the mobile phone terminal in the vertical direction is changed from nonzero to zero, the time t is called the negative singular point time of the mobile phone terminal; if the vertical vibration displacement number of the mobile phone terminal is changed from zero to non-zero, t is called the positive singular point moment of the mobile phone terminal.
c1 is a negative singularity time (corresponding to the time of getting on the vehicle by the user) and c2 is a positive singularity time (corresponding to the time of getting off the vehicle by the user).
Conditions two, c1, and c2 satisfy: c2-c1 is alpha, alpha is a preset constant.
Wherein, alpha can be determined according to the minimum value of the normal driving time between all adjacent stations in the bus running network; in practice, α should be greater than or equal to the minimum value of the normal travel time between all adjacent stations in the bus operating network.
Condition three, the measure of the four-dimensional space curve with the endpoints of (a1, b1, c1) and (a2, b2, c2) is 0 formed by the user travel mode feature data elements collected in the time period of c1 to c 2; wherein, the measure of the four-dimensional space curve refers to: and (3) projecting the four-dimensional space curve phi to a three-dimensional space where the (a, b) is located to obtain a three-dimensional space curve gamma, projecting the three-dimensional space curve gamma to a plane where the longitude and latitude information b is located to obtain a two-dimensional space curve L, and measuring a three-dimensional space curved surface area S defined by the three-dimensional space curve gamma and the two-dimensional space curve L to obtain the four-dimensional space curve phi.
In step S02, mining in real time whether there is a measure non-vibration period satisfying the above three conditions; if so, taking the measurement non-vibration time interval as the time interval to be identified to enter the step S1; if not, the excavation is continued.
The following steps S1 to S4 are specifically described:
and step S1, acquiring identification data of the mobile phone terminal in the measurement vibration-free time period.
And step S2, according to the position information of the mobile phone terminal at the initial time of the measured non-vibration time period, determining the bus stop closest to the mobile phone terminal at the initial time of the measured non-vibration time period, recording as a first bus stop, and calculating the first distance between the mobile phone terminal and the first bus stop.
And step S3, according to the position information of the mobile phone terminal at the ending time of the measured no-vibration time period, determining the bus stop closest to the mobile phone terminal at the ending time of the measured no-vibration time period, recording the bus stop as a second bus stop, and calculating a second distance between the mobile phone terminal and the second bus stop.
In step S4, it can be identified whether the holding user of the mobile phone terminal is on bus travel in the measurement non-vibration period according to a first distance between the mobile phone terminal and a first bus stop closest to the mobile phone terminal at the start time of the measurement non-vibration period and a second distance between the mobile phone terminal and a second bus stop closest to the mobile phone terminal at the end time of the measurement non-vibration period.
For the description of step S1 to step S4, reference may be made to the contents of the first embodiment, and details are not repeated here.
In the embodiment, the characteristic data elements of the user trip mode of the mobile phone terminal are obtained in real time, and after the measure non-vibration time period is found, the measure non-vibration time period is used as the time period to be identified, so that whether the trip mode of the user holding the mobile phone terminal in the measure non-vibration time period is bus trip or not is identified. When the travel mode of the mobile phone terminal holding user in the measurement vibration-free time period is recognized as bus travel, the first bus stop can be determined as the getting-on stop of the mobile phone terminal holding user, and the second bus stop is the getting-off stop of the mobile phone terminal holding user.
Fig. 4 is a block diagram of a structure of a system for identifying public transport trips of a mobile phone user according to a third embodiment of the present invention, and as shown in fig. 4, the system for identifying public transport trips of a mobile phone user can be used to implement the identification methods according to the first embodiment and the second embodiment, and the system for identifying public transport trips includes: the system comprises a first acquisition module 1, a first determination module 2, a second determination module 3 and an identification module 4;
the first obtaining module 1 is configured to obtain identification data of a period to be identified, where the identification data includes: the mobile phone terminal comprises the starting time of the period to be identified, the ending time of the period to be identified, the position information of the mobile phone terminal at the starting time of the period to be identified and the position information of the mobile phone terminal at the ending time of the period to be identified. Optionally, the location information includes: latitude and longitude information.
The first determining module 2 is configured to determine, according to the position information of the mobile phone terminal at the starting time of the period to be identified, a bus stop closest to the mobile phone terminal at the starting time of the period to be identified, and record the bus stop as a first bus stop, and calculate a first distance between the mobile phone terminal and the first bus stop.
The second determining module 3 is configured to determine, according to the position information of the mobile phone terminal at the ending time of the period to be identified, a bus stop closest to the mobile phone terminal at the ending time of the period to be identified, and record the bus stop as a second bus stop, and calculate a second distance between the mobile phone terminal and the second bus stop.
The identification module 4 is used for identifying whether the travel mode of the mobile phone terminal holding the user in the period to be identified is bus travel or not according to the first distance and the second distance.
Optionally, the identification module 4 comprises: a first judgment unit 401, a second judgment unit 402, a first identification unit 403, and a second identification unit 404.
The first determining unit 401 is configured to determine whether the first distance and the second distance are both smaller than a first preset distance.
The second judging unit 402 is configured to judge whether there is a bus passing through the first bus stop and the second bus stop in sequence based on the bus travel route data when the first judging unit judges that the first distance and the second distance are both smaller than the first preset distance.
The first identification unit 403 is configured to identify that the travel mode of the user holding the mobile terminal in the period to be identified is bus travel when the second determination unit determines that there is a bus passing through the first bus stop and the second bus stop in sequence.
The second identifying unit 404 is configured to identify that the travel mode of the user holding the mobile terminal in the period to be identified is not a bus travel when the first determining unit determines that at least one of the first distance and the second distance is greater than or equal to a second preset distance, or when the second determining unit determines that there is no bus passing through the first bus stop and the second bus stop in sequence.
It should be noted that the first obtaining module 1 in this embodiment may be configured to execute the step S1 in the first embodiment and the second embodiment, the first determining module 2 may be configured to execute the step S2 in the first embodiment and the second embodiment, the second determining module 3 may be configured to execute the step S3 in the first embodiment and the second embodiment, the identifying module 4 may be configured to execute the step S4 in the first embodiment and the second embodiment, the first determining unit 401 may be configured to execute the step S401 in the first embodiment, the second determining unit 402 may be configured to execute the step S402 in the first embodiment, the first identifying unit 403 may be configured to execute the step S403 in the first embodiment, and the second identifying unit 404 may be configured to execute the step S404 in the first embodiment. For the description of each module and unit, refer to the contents in the above-mentioned first embodiment, and are not described herein again.
Optionally, the identification system further comprises: an acquisition module 5 and a third determination module 6.
The acquisition module 5 is configured to acquire user travel mode characteristic data elements of the mobile phone terminal in real time, and record the data elements as (a, b, c), where a is a vertical vibration displacement number of the mobile phone terminal, b is longitude and latitude information of the mobile phone terminal, and c is a data acquisition time.
The acquisition module 5 specifically includes: the mobile phone terminal comprises a displacement acquisition unit (such as a displacement sensor) capable of acquiring the vertical direction vibration displacement number of the mobile phone terminal, a position acquisition unit (such as a GPS) capable of acquiring longitude and latitude information of the mobile phone terminal, and a time acquisition unit (such as a chip with a time acquisition function) capable of acquiring time data.
The third determining module 6 is configured to determine a measure vibration-free time period of the mobile phone terminal according to the acquired vertical vibration displacement data, where identification data of the measure vibration-free time period is recorded as [ (a1, b1, c1), (a2, b2, c2) ];
wherein, (a1, b1, c1) represents the user travel mode feature data elements acquired at the starting time of the measure no-vibration period, (a2, b2, c2) represents the user travel mode feature data elements acquired at the ending time of the measure no-vibration period;
[ (a1, b1, c1), (a2, b2, c2) ] satisfies the following condition:
c1 is selected from a moment when the vertical direction vibration displacement number of the mobile phone terminal jumps from non-zero to zero, c2 is selected from a moment when the vertical direction vibration displacement number of the mobile phone terminal jumps from zero to non-zero, and c1 and c2 satisfy: c2-c1 is more than or equal to alpha, and alpha is a preset constant;
the measure of the user travel pattern feature data elements collected in the time period from c1 to c2 constituting the four-dimensional space curve with the endpoints of (a1, b1, c1) and (a2, b2, c2) is 0; wherein, the measure of the four-dimensional space curve refers to: projecting the four-dimensional space curve phi to a three-dimensional space where the (a, b) is located to obtain a three-dimensional space curve gamma, projecting the three-dimensional space curve gamma to a plane where the longitude and latitude information b is located to obtain a two-dimensional space curve L, and measuring a three-dimensional space curved surface area S defined by the three-dimensional space curve gamma and the two-dimensional space curve L to obtain a four-dimensional space curve phi;
the third determining module 6 may be a chip with a data mining function, and may receive, in real time, the user travel mode characteristic data elements acquired by the acquiring module, and perform real-time analysis and processing.
In this embodiment, when the recognition system has the above-mentioned acquisition module and the third determination module, the period to be recognized in the first acquisition module is a measurement vibration-free period.
It should be noted that the acquiring module 5 in this embodiment may be configured to execute step S01 in the second embodiment, and the third determining module 6 may be configured to execute step S02 in the second embodiment.
In practical application, the acquisition module 5 and the third determination module 6 may be integrated in a mobile phone terminal, and the first acquisition module 1, the first determination module 2, the second determination module 3, and the identification module 4 may be disposed on the cloud platform side. When the third determining module 6 finds that there is a measurement non-vibration period, it may send the identification data of the measurement non-vibration period to the first obtaining module 1 in the cloud platform, and the cloud platform receives the corresponding data and performs real-time processing.
The third embodiment of the invention provides a system for identifying public transport trips of mobile phone users, which can effectively identify whether the trip mode of the mobile phone terminal holding users in the period to be identified is public transport trips or not according to the identification data of the mobile phone terminal in the period to be identified, and enriches the research range of the user behavior analysis field.
It will be understood that the above embodiments are merely exemplary embodiments taken to illustrate the principles of the present invention, which is not limited thereto. It will be apparent to those skilled in the art that various modifications and improvements can be made without departing from the spirit and substance of the invention, and these modifications and improvements are also considered to be within the scope of the invention.

Claims (5)

1. A method for identifying public transport trips of mobile phone users is characterized by comprising the following steps:
step S1, obtaining identification data of the mobile phone terminal in a period to be identified, where the identification data in the period to be identified includes: the starting time of the period to be identified, the ending time of the period to be identified, the position information of the mobile phone terminal at the starting time of the period to be identified and the position information of the mobile phone terminal at the ending time of the period to be identified;
step S2, according to the position information of the mobile phone terminal at the starting time of the period to be identified, determining a bus stop closest to the mobile phone terminal at the starting time of the period to be identified, marking as a first bus stop, and calculating a first distance between the mobile phone terminal and the first bus stop;
step S3, according to the position information of the mobile phone terminal at the ending time of the period to be identified, determining a bus stop closest to the mobile phone terminal at the ending time of the period to be identified, marking the bus stop as a second bus stop, and calculating a second distance between the mobile phone terminal and the second bus stop;
step S4, identifying whether the travel mode of the mobile phone terminal holding user in the period to be identified is a bus travel or not according to the first distance and the second distance;
the location information includes: latitude and longitude information;
before step S1, the method further includes:
step S01, obtaining characteristic data elements of a user trip mode of the mobile phone terminal in real time, and recording the characteristic data elements as (a, b, c), wherein a is a vibration displacement number of the mobile phone terminal in the vertical direction, b is longitude and latitude information of the mobile phone terminal, and c is a data acquisition time;
step S02, determining a measure vibration-free time period of the mobile phone terminal according to the acquired vertical vibration displacement data, wherein identification data of the measure vibration-free time period are marked as [ (a1, b1, c1), (a2, b2, c2) ];
wherein, (a1, b1, c1) represents the user travel mode feature data elements acquired at the starting time of the measure no-vibration period, (a2, b2, c2) represents the user travel mode feature data elements acquired at the ending time of the measure no-vibration period;
[ (a1, b1, c1), (a2, b2, c2) ] satisfies the following condition:
c1 is selected from a moment when the vertical direction vibration displacement number of the mobile phone terminal jumps from non-zero to zero, c2 is selected from a moment when the vertical direction vibration displacement number of the mobile phone terminal jumps from zero to non-zero, and c1 and c2 satisfy: c2-c1 is more than or equal to alpha, and alpha is a preset constant;
the measure of the user travel pattern feature data elements collected in the time period from c1 to c2 constituting the four-dimensional space curve with the endpoints of (a1, b1, c1) and (a2, b2, c2) is 0; wherein, the measure of the four-dimensional space curve refers to: projecting the four-dimensional space curve phi to a three-dimensional space where the (a, b) is located to obtain a three-dimensional space curve gamma, projecting the three-dimensional space curve gamma to a plane where the longitude and latitude information b is located to obtain a two-dimensional space curve L, and measuring a three-dimensional space curved surface area S defined by the three-dimensional space curve gamma and the two-dimensional space curve L to obtain a four-dimensional space curve phi;
in step S1, the period to be identified is the measure shockless period.
2. The identification method according to claim 1, wherein step S4 includes:
step S401, judging whether the first distance and the second distance are both smaller than a first preset distance;
if the first distance and the second distance are both smaller than the first preset distance, executing step S402; otherwise, go to step S404;
step S402, judging whether buses passing through the first bus stop and the second bus stop in sequence exist or not based on the bus running line data;
if the buses passing through the first bus stop and the second bus stop in sequence are judged to exist, executing the step S403; otherwise, go to step S404;
step S403, identifying that the travel mode of the user holding the mobile phone terminal in the period to be identified is bus travel;
and S404, recognizing that the travel mode of the mobile phone terminal holding user in the period to be recognized is not bus travel.
3. The utility model provides an identification system of cell-phone user public transit trip which characterized in that includes:
the first obtaining module is used for obtaining identification data of the mobile phone terminal in a period to be identified, wherein the identification data in the period to be identified comprises: the starting time of the period to be identified, the ending time of the period to be identified, the position information of the mobile phone terminal at the starting time of the period to be identified and the position information of the mobile phone terminal at the ending time of the period to be identified;
the first determining module is used for determining a bus stop closest to the mobile phone terminal at the starting time of the period to be identified according to the position information of the mobile phone terminal at the starting time of the period to be identified, marking the bus stop as a first bus stop, and calculating a first distance between the mobile phone terminal and the first bus stop;
the second determining module is used for determining a bus stop closest to the mobile phone terminal at the ending time of the period to be identified according to the position information of the mobile phone terminal at the ending time of the period to be identified, marking the bus stop as a second bus stop, and calculating a second distance between the mobile phone terminal and the second bus stop;
the identification module is used for identifying whether the travel mode of the mobile phone terminal holding user in the period to be identified is bus travel or not according to the first distance and the second distance;
the location information includes: latitude and longitude information;
the identification system further comprises:
the system comprises an acquisition module, a data acquisition module and a data acquisition module, wherein the acquisition module is used for acquiring characteristic data elements of a user trip mode of a mobile phone terminal in real time and is marked as (a, b and c), wherein a is a vibration displacement number of the mobile phone terminal in the vertical direction, b is longitude and latitude information of the mobile phone terminal, and c is a data acquisition moment;
a third determining module, configured to determine a measure vibration-free time period of the mobile phone terminal according to the acquired vertical direction vibration displacement data, where identification data of the measure vibration-free time period is denoted as [ (a1, b1, c1), (a2, b2, c2) ];
wherein, (a1, b1, c1) represents the user travel mode feature data elements acquired at the starting time of the measure no-vibration period, (a2, b2, c2) represents the user travel mode feature data elements acquired at the ending time of the measure no-vibration period;
[ (a1, b1, c1), (a2, b2, c2) ] satisfies the following condition:
c1 is selected from a moment when the vertical direction vibration displacement number of the mobile phone terminal jumps from non-zero to zero, c2 is selected from a moment when the vertical direction vibration displacement number of the mobile phone terminal jumps from zero to non-zero, and c1 and c2 satisfy: c2-c1 is more than or equal to alpha, and alpha is a preset constant;
the measure of the user travel pattern feature data elements collected in the time period from c1 to c2 constituting the four-dimensional space curve with the endpoints of (a1, b1, c1) and (a2, b2, c2) is 0; wherein, the measure of the four-dimensional space curve refers to: projecting the four-dimensional space curve phi to a three-dimensional space where the (a, b) is located to obtain a three-dimensional space curve gamma, projecting the three-dimensional space curve gamma to a plane where the longitude and latitude information b is located to obtain a two-dimensional space curve L, and measuring a three-dimensional space curved surface area S defined by the three-dimensional space curve gamma and the two-dimensional space curve L to obtain a four-dimensional space curve phi;
in the first acquisition module, the period to be identified is the measurement vibration-free period.
4. The identification system of claim 3, wherein the identification module comprises:
the first judging unit is used for judging whether the first distance and the second distance are both smaller than a first preset distance;
the second judging unit is used for judging whether buses passing through the first bus stop and the second bus stop in sequence exist or not based on the bus running line data when the first judging unit judges that the first distance and the second distance are both smaller than the first preset distance;
the first identification unit is used for identifying that the travel mode of the mobile phone terminal holding user in the period to be identified is bus travel when the second judgment unit judges that buses sequentially pass through the first bus stop and the second bus stop exist;
and the second identification unit is used for identifying that the user holding the mobile phone terminal is in the trip mode of the time period to be identified is not bus trip when the first judgment unit judges that at least one of the first distance and the second distance is greater than or equal to a second preset distance or the second judgment unit judges that the buses passing through the first bus stop and the second bus stop in sequence do not exist.
5. The identification system of claim 4, wherein the acquisition module and the third determination module are integrated in the mobile phone terminal;
the first obtaining module, the first determining module, the second determining module and the identifying module are arranged in a cloud platform.
CN201810660596.6A 2018-06-25 2018-06-25 Method and system for identifying public transport trip of mobile phone user Active CN108900704B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810660596.6A CN108900704B (en) 2018-06-25 2018-06-25 Method and system for identifying public transport trip of mobile phone user

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810660596.6A CN108900704B (en) 2018-06-25 2018-06-25 Method and system for identifying public transport trip of mobile phone user

Publications (2)

Publication Number Publication Date
CN108900704A CN108900704A (en) 2018-11-27
CN108900704B true CN108900704B (en) 2020-11-10

Family

ID=64346142

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810660596.6A Active CN108900704B (en) 2018-06-25 2018-06-25 Method and system for identifying public transport trip of mobile phone user

Country Status (1)

Country Link
CN (1) CN108900704B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799897A (en) * 2012-07-02 2012-11-28 杨飞 Computer recognition method of GPS (Global Positioning System) positioning-based transportation mode combined travelling
CN103810851A (en) * 2014-01-23 2014-05-21 广州地理研究所 Mobile phone location based traffic mode identification method
CN104751631A (en) * 2015-03-13 2015-07-01 同济大学 Method of judging mode of transportation of train chain based on GPS (Global Positioning System) positioning and fuzzy theory

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799897A (en) * 2012-07-02 2012-11-28 杨飞 Computer recognition method of GPS (Global Positioning System) positioning-based transportation mode combined travelling
CN103810851A (en) * 2014-01-23 2014-05-21 广州地理研究所 Mobile phone location based traffic mode identification method
CN104751631A (en) * 2015-03-13 2015-07-01 同济大学 Method of judging mode of transportation of train chain based on GPS (Global Positioning System) positioning and fuzzy theory

Also Published As

Publication number Publication date
CN108900704A (en) 2018-11-27

Similar Documents

Publication Publication Date Title
US9478128B2 (en) Obtaining vehicle traffic information using mobile bluetooth detectors
Jagadeesh et al. A map matching method for GPS based real-time vehicle location
US9170115B2 (en) Method and system for generating road map using data of position sensor of vehicle
KR101919366B1 (en) Apparatus and method for recognizing vehicle location using in-vehicle network and image sensor
CN103916821A (en) Floor distinguishing method based on RSSI difference between floors
JP2016180980A (en) Information processing device, program, and map data updating system
CN110728650B (en) Well lid depression detection method based on intelligent terminal and related equipment
JP5415205B2 (en) Traveling link determination device and link travel time calculation device
CN104217588B (en) A kind of Real-time Traffic Information acquisition methods, server and system
US8798896B2 (en) Reliability of travel time estimation
CN106199669B (en) A kind of method and device for analyzing public transit vehicle operational process based on GPS track
JP4584344B1 (en) Traveling link determination device and link travel time calculation device
CN107167580B (en) Road surface depression detection method based on acceleration sensor and machine learning
CN111183464B (en) System and method for estimating saturation flow of signal intersection based on vehicle trajectory data
CN103604435A (en) Location method based on matching of map and deceleration strips
KR101290750B1 (en) Method and apparatus for estimating destination using gps signal
CN106980029B (en) Vehicle overspeed judgment method and system
CN108900704B (en) Method and system for identifying public transport trip of mobile phone user
EP3719448A1 (en) Moving method determination system and moving method determination method
CN108709553A (en) The method and apparatus that arbitrary point passes through rate pattern in the estimation tunnel of high in the clouds
CN113207082B (en) Mobile network data positioning system and method based on traffic route position fingerprint database
Ohashi et al. Automatic trip-separation method using sensor data continuously collected by smartphone
KR102237907B1 (en) Method and system for identifying movement means based on a user movement path
CN114166234A (en) System, method, device, processor and computer storage medium for selecting navigation route and road damage identification early warning based on road damage measurement
JP2004145587A (en) Apparatus and method for estimating location of travelling vehicle

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