Nothing Special   »   [go: up one dir, main page]

CN115442758A - User travel mode determination method and device, terminal equipment and storage medium - Google Patents

User travel mode determination method and device, terminal equipment and storage medium Download PDF

Info

Publication number
CN115442758A
CN115442758A CN202211080499.2A CN202211080499A CN115442758A CN 115442758 A CN115442758 A CN 115442758A CN 202211080499 A CN202211080499 A CN 202211080499A CN 115442758 A CN115442758 A CN 115442758A
Authority
CN
China
Prior art keywords
user
determining
position information
time
period
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
CN202211080499.2A
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.)
Guangzhou Hantele Communication Co ltd
Original Assignee
Guangzhou Hantele Communication 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 Guangzhou Hantele Communication Co ltd filed Critical Guangzhou Hantele Communication Co ltd
Priority to CN202211080499.2A priority Critical patent/CN115442758A/en
Publication of CN115442758A publication Critical patent/CN115442758A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/20Services signaling; Auxiliary data signalling, i.e. transmitting data via a non-traffic channel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/20Services signaling; Auxiliary data signalling, i.e. transmitting data via a non-traffic channel
    • H04W4/203Services signaling; Auxiliary data signalling, i.e. transmitting data via a non-traffic channel for converged personal network application service interworking, e.g. OMA converged personal network services [CPNS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Navigation (AREA)

Abstract

The application discloses a user travel mode determining method and device, terminal equipment and a storage medium. The method and the device have the advantages that the position information of the user is obtained by periodically obtaining the signaling data of the mobile phone of the user, the starting place and the starting time when the user starts to travel are determined according to the position information of the user, the destination and the ending time when the user finishes traveling are determined, and finally the traveling mode of the user is determined according to the starting time, the ending time, the destination and the starting place. According to the method and the device, the travel mode of the user can be analyzed and obtained only by periodically acquiring the mobile phone information data, manual investigation is not needed, investigation efficiency of the travel mode of the user is improved, and investigation cost is reduced. In addition, the method and the device can dynamically acquire the travel modes of the user in different time periods every day along with the change of time, and are high in real-time performance. The method solves the technical problems of low efficiency, poor real-time performance and high cost of the resident trip mode investigation method in the prior art.

Description

User travel mode determination method and device, terminal equipment and storage medium
Technical Field
The embodiment of the application relates to the field of transportation, and in particular relates to a method and a device for determining a user travel mode, a terminal device and a storage medium.
Background
At present, for the needs of traffic planning, the whole urban road network area is generally divided into a plurality of sub-areas according to factors such as administrative divisions, geographic and hydrological features, and socioeconomic properties, and each sub-area is called a traffic cell. And then, counting the traveling times of residents between any two traffic districts to form a numerical matrix called a resident traveling OD matrix. The resident travel OD matrix reflects the traffic demand information of residents, so the resident travel OD matrix is an important data resource for implementing quantitative analysis of traffic planning work and is also an important basis for excavating normal traffic jam reasons.
However, the conventional resident travel investigation method is high in cost, large in personnel involvement, high in organization difficulty and long in implementation period, and only static traffic demand information in a certain period can be obtained, but the traffic demand of a resident can not be dynamically acquired according to the change of time in a month-by-month, a day-by-day or even a single day.
In summary, the method for investigating the travel modes of the residents in the prior art has the technical problems of low efficiency, poor real-time performance and high cost.
Disclosure of Invention
The application provides a user travel mode determining method, a user travel mode determining device, terminal equipment and a storage medium, and solves the technical problems of low efficiency, poor real-time performance and high cost of a resident travel mode investigation method in the prior art.
In a first aspect, the present application provides a method for determining a user travel mode, including:
periodically acquiring signaling data of a mobile phone of a user, and determining position information of the user according to the signaling data;
in each period, constructing a position sequence according to the position information acquired in the current period and the position information acquired in the previous two periods;
when the user is detected to move according to the position sequence for the first time, recording the starting place and the starting time of the user, and when the times that the user does not move is continuously detected to reach the preset times in the subsequent period according to the position sequence, determining that the user finishes traveling, and recording the destination and the ending time of the user;
and determining the travel mode of the user according to the departure time, the end time, the destination and the starting place.
In a second aspect, the present application provides an apparatus for determining a user travel mode, including:
the system comprises a position information determining module, a position information determining module and a position information determining module, wherein the position information determining module is used for periodically acquiring signaling data of a mobile phone of a user and determining position information of the user according to the signaling data;
the position sequence building module is used for building a position sequence according to the position information obtained in the current period and the position information obtained in the previous two periods in each period;
the user movement detection module is used for recording the starting place and the starting time of the user when the user movement is detected according to the position sequence for the first time, determining that the user finishes traveling when the number of times that the user does not move is detected to reach the preset number of times continuously according to the position sequence in the subsequent period, and recording the destination and the ending time of the user;
and the travel mode determining module is used for determining the travel mode of the user according to the departure time, the end time, the destination and the starting place.
In a third aspect, the present application provides a terminal device, including a processor and a memory;
the memory is used for storing a computer program and transmitting the computer program to the processor;
the processor is configured to execute a user travel pattern determination method according to instructions in the computer program.
In a fourth aspect, the present application provides a storage medium storing computer-executable instructions for performing a user travel pattern determination method according to the second aspect when executed by a computer processor.
In the above description, the location information of the user is obtained by periodically obtaining the signaling data of the mobile phone of the user, the starting location and the starting time when the user starts to travel are determined according to the location information of the user, the destination and the ending time when the user finishes traveling are determined, and finally, the traveling mode of the user is determined according to the starting time, the ending time, the destination and the starting location. According to the method and the device, the travel mode of the user can be analyzed and obtained only by periodically acquiring the mobile phone information data, manual investigation is not needed, investigation efficiency of the travel mode of the user is improved, and investigation cost is reduced. In addition, the method and the device can dynamically acquire the trip modes of the user in different time periods every day along with the time change, and are strong in instantaneity. The method solves the technical problems of low efficiency, poor real-time performance and high cost of the resident trip mode investigation method in the prior art.
Drawings
Fig. 1 is a schematic flow chart of a user travel mode determination method provided by the present application.
Fig. 2 is a schematic flow chart of another user travel mode determination method provided in the present application.
Fig. 3 is a schematic structural diagram of a user travel mode device provided in the present application.
Fig. 4 is a schematic structural diagram of a terminal device provided in the present application.
Detailed Description
The following description and the drawings sufficiently illustrate specific embodiments of the application to enable those skilled in the art to practice them. The examples merely typify possible variations. Individual components and functions are optional unless explicitly required, and the sequence of operations may vary. Portions and features of some embodiments may be included in or substituted for those of others. The scope of the embodiments of the present application includes the full ambit of the claims, as well as all available equivalents of the claims. Embodiments may be referred to, individually or collectively, herein by the term "invention" merely for convenience and without intending to voluntarily limit the scope of this application to any single invention or inventive concept if more than one is in fact disclosed. Herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed. The various embodiments are described in a progressive manner, with each embodiment focusing on differences from the other embodiments, and with like parts being referred to one another. For the structures, products and the like disclosed by the embodiments, the description is relatively simple because the structures, the products and the like correspond to the parts disclosed by the embodiments, and the relevant parts can be just described by referring to the method part.
As shown in fig. 1, fig. 1 is a flowchart of a user travel mode determination method provided by the present application. The user travel mode determining method provided by the application can be executed by a terminal device, the terminal device can be realized in a software and/or hardware mode, and the terminal device can be composed of two or more physical entities or one physical entity. For example, the terminal device can be a computer, an upper computer, a tablet and other devices. The method comprises the following steps:
step 101, periodically acquiring signaling data of a mobile phone of a user, and determining position information of the user according to the signaling data.
In this embodiment, when investigating a user's travel mode, signaling data of a user's mobile phone needs to be periodically acquired, and the signaling data may be acquired from a mobile phone service operator. The signaling data of the mobile phone refers to communication data between the mobile phone and the transmitting base station or the micro station, and the signaling data starts to be generated as soon as the mobile phone is started and receives a signal of a mobile service operator. In this embodiment, according to the signaling data of the mobile phone, a base station communicating with the mobile phone may be determined, and the current location information of the user may be determined according to the location of the base station.
In the present embodiment, the interval of the period may be set according to actual needs, for example, the period may be set to 1 minute, 2 minutes, or 5 minutes, and the like, which is not specifically limited in the present embodiment.
On the basis of the above embodiment, the determining, in step 101, the location information of the user according to the signaling data includes:
step 1011, determining a base station communicating with the user mobile phone according to the signaling data.
Firstly, a base station which is communicated with a mobile phone of a user is determined according to signaling data.
Step 1012, determining a traffic cell where the base station is located, acquiring longitude and latitude coordinates of the traffic cell, and using the longitude and latitude coordinates as the position information of the user.
And then, further determining a traffic cell where the base station is located, acquiring longitude and latitude coordinates of the traffic cell, and taking the longitude and latitude coordinates of the traffic cell as the position information of the user. In one embodiment, the longitude and latitude coordinates of the traffic cell can be obtained by searching a table. For example, each traffic cell and the longitude and latitude coordinates corresponding to each traffic cell are included in the cell location table, after the traffic cells are known, the corresponding longitude and latitude coordinates can be obtained by inquiring the cell location table, and the longitude and latitude is used as the current location information of the user.
And 102, in each period, constructing a position sequence according to the position information acquired in the current period and the position information acquired in the previous two periods.
After the position information of the user is obtained in each period, the position sequence of the current period can be constructed according to the position information of the user obtained in the current period and the position information of the user obtained in the previous two periods. Illustratively, the position sequence of the ith cycle is { cell1 } i ,cell2 i ,cell3 i In which cell1 i For last period T i -2 acquired location information, cell2 i For the last period T i -1 acquired location information, cell3 i For the ith period T i The collected location information.
And 103, recording the starting place and the starting time of the user when the user movement is detected according to the position sequence for the first time, and recording the destination and the ending time of the user when the times that the user does not move is continuously detected according to the position sequence in the subsequent period reaches the preset times.
After the position sequence is constructed in each period, when the movement of the user is detected according to the position information in the position sequence for the first time in a certain period, the starting place and the starting time of the user can be recorded according to the position sequence. It can be understood that the positional sequence is not constructed until the first two periods because the positional information of the first two periods cannot be obtained, and the positional sequence is constructed until the third period. In addition, it should be further noted that the first detection of the user moving means that the user moving is detected for the first time, or when the user moving is resumed after the last trip is detected, the user moving is also considered to be detected for the first time.
And then, in the subsequent period, continuously constructing a position sequence in each period, determining whether the user continuously moves in each period according to the constructed position sequence, and when the user is detected not to move in the continuous preset period according to the position sequence, namely the number of times that the user is continuously determined not to move according to the position sequence reaches the preset number of times, determining that the user finishes the trip at the moment, and recording the destination and the end time of the user according to the position sequence. Illustratively, the preset times are set to four times, after the user movement is detected for the first time according to the position sequence of the third period, whether the user moves or not is detected continuously according to the position sequence of the current period in the subsequent period, and if yes, whether the user moves or not is detected continuously according to the position sequence in the subsequent period. When the user is determined not to move continuously in four times in the subsequent period according to the position sequence, for example, when the user is determined not to move continuously in the eighth period, the ninth period, the tenth period and the eleventh period according to the position sequence corresponding to each period, the user is determined to finish the trip, and the destination and the end time of the user finishing the trip are recorded.
On the basis of the above embodiment, the step 103 of detecting whether the user moves according to the position sequence includes:
step 1031, calculating a first distance moved by the user according to the first position information and the second position information; the second position information is position information acquired in the last period in the position sequence, and the first position information is position information acquired in the last period in the position sequence.
When determining whether a user moves according to a position sequence, first obtaining first position information obtained in a last period and second position information obtained in the last period in the position sequence. For example, in the position sequence { cell1 } i ,cell2 i ,cell3 i Get the first location information cell1 i And a second location information cell2 i . Then, according to the first location information cell1 i And a second location information cell2 i A first distance moved by the user is calculated. Specifically, the first location information cell1 can be calculated i And a second location information cell2 i The first distance is obtained.
Step 1032, calculating a second moving distance of the user according to the second position information and the third position information; the third position information is position information obtained in the current period in the position sequence.
Then, further obtaining the location information cell3 obtained in the current period in the location sequence i Then calculating the second position information cell2 i And third location information cell3 i A second distance therebetween.
Step 1033, calculating a difference value between the first distance and the second distance, and determining that the user moves when the difference value is greater than a preset distance; otherwise, it is determined that the user has not moved.
And finally, calculating a difference value between the first distance and the second distance, and determining whether the user moves according to the difference value. Specifically, when the difference is greater than the preset distance, it is determined that the user moves, and when the difference is less than the preset distance, it is determined that the user does not move. It is understood that the preset distance may be set according to actual needs, for example, the difference may be set to 900 meters, and a specific value of the preset distance is not limited in this embodiment.
On the basis of the above embodiment, when the user movement is detected for the first time according to the position sequence in step 103, recording the starting location and the departure time of the user includes:
step 1034, when the user movement is detected according to the position sequence for the first time, determining the starting position of the user and the departure time of the user according to the position information obtained in the last period in the position sequence.
In one embodiment, when it is detected that the user moves according to the position sequence for the first time, in the position sequence, the position information acquired in the last period is used as a starting place of the user, and the time when the position information is acquired in the last period is used as a departure time of the user. For example, if the user is detected to move in the third period, the position sequence { cell 1) in the third period 3 ,cell2 3 ,cell3 3 In } cell1 3 As the starting place of the user, cell1 is to be acquired 3 As the user's departure time.
On the basis of the above embodiment, when the number of times that the user does not move in the subsequent period is continuously detected according to the position sequence reaches the preset number in step 103, determining that the user ends the trip, and recording the destination and the end time of the user, the method includes:
and 1035, determining that the user finishes traveling when the number of times that the user does not move is continuously detected to reach the preset number according to the position sequence in the subsequent period.
Step 1036, determining that the user is detected not to move for the first time in a period in which the user is detected not to move for the preset number of times.
In this embodiment, when determining the destination and the end time of the user, first, in a period in which no movement of the user is detected for a preset number of consecutive times, a first target period in which no movement of the user is detected for the first time is determined. For example, when it is determined that the user does not move according to the position sequence corresponding to each cycle continuously in the eighth cycle, the ninth cycle, the tenth cycle, and the eleventh cycle, the eighth cycle is acquired as the first target cycle.
Step 1037, a first sequence of target positions for the first target period is obtained.
After the first target period is determined, a first target position sequence constructed in the first target period is further acquired. For example, a first sequence of target positions { cell1 } is acquired in the eighth cycle 8 ,cell2 8 ,cell3 8 }。
Step 1038, in the first target location sequence, obtaining first target location information of a previous cycle of the first target cycle, and determining a destination of the user and an end time of the user according to the first target location information.
And then, in the first target position sequence, acquiring first target position information of a previous period of the first target period, and determining a destination of the user for finishing the trip and the finishing time of the user for finishing the trip according to the first target position information. For example, in the first sequence of target locations { cell1 } 8 ,cell2 8 ,cell3 8 Get cell13 8 As the first target position information, and the cell13 8 As the destination for the user to finish the trip, and will acquire the cell13 8 As the end time of the user's trip.
And step 104, determining the travel mode of the user according to the departure time, the end time, the destination and the starting place.
Then, according to the destination and the starting place, an OD pair of the user for the trip can be constructed, the distance of the user for the trip can be calculated, then, according to the departure time and the ending time, the time used by the user for the trip can be determined, according to the distance of the trip and the time of the trip, the moving speed of the user is calculated, and according to the moving speed, the trip mode of the user can be determined.
On the basis of the above embodiment, in step 104, determining the travel mode of the user according to the departure time, the end time, the destination and the starting location includes:
and 1041, calculating the total trip time of the user according to the departure time and the ending time.
Firstly, the total travel time of the user is calculated according to the departure time and the end time.
Step 1042, calculating the total distance moved by the user according to the destination and the starting place.
Then, the total distance moved by the user is calculated according to the destination and the starting place. In one embodiment, the total distance moved by the user may be calculated according to the longitude and latitude of the traffic cell corresponding to the destination and the longitude and latitude of the traffic cell corresponding to the starting location.
And 1043, calculating the moving speed of the user according to the total duration and the total distance.
And then dividing the total distance by the total duration to obtain the moving speed of the user in the traveling process.
And step 1044, determining the travel mode of the user according to the moving speed and the total distance.
And finally, determining the travel mode of the user according to the moving speed. In one embodiment, different travel speeds and total distances correspond to different travel patterns, as shown in table 1.
Figure BDA0003832909080000081
TABLE 1
In an embodiment, after the travel modes of the multiple users are obtained, statistical analysis may be further performed on the travel modes of the users. For example, the travel modes of the users can be classified according to the difference between the starting place and the destination, and the travel modes of different users are divided into the following three categories: and (1) the starting place and the destination are in the city/county. (2) The origin is in the city/county and the destination is not. (3) The origin is not in the city/county and the destination is in the city/county. Or classifying the user's travel modes according to two time granularities of each hour and each day, and respectively counting the proportion of different travel modes in each hour and each day. In an embodiment, the user may also customize the acquisition time of the travel mode, for example, the acquisition time is set to 9-00, when the following time reaches 9. In another embodiment, a flow of the user travel mode determining method is shown in fig. 2.
In the above description, the location information of the user is obtained by periodically obtaining the signaling data of the mobile phone of the user, the starting location and the starting time when the user starts to travel are determined according to the location information of the user, the destination and the ending time when the user ends to travel are determined, and finally the travel mode of the user is determined according to the starting time, the ending time, the destination and the starting location. According to the method and the device, the travel mode of the user can be analyzed and obtained only by periodically acquiring the mobile phone information data, manual investigation is not needed, investigation efficiency of the travel mode of the user is improved, and investigation cost is reduced. In addition, the method and the device can dynamically acquire the trip modes of the user in different time periods every day along with the time change, and are strong in instantaneity. The method solves the technical problems of low efficiency, poor real-time performance and high cost of the resident trip mode investigation method in the prior art.
As shown in fig. 3, fig. 3 is a schematic structural diagram of a user travel mode determining apparatus provided in the present application, including:
a location information determining module 201, configured to periodically obtain signaling data of a mobile phone of a user, and determine location information of the user according to the signaling data;
a position sequence construction module 202, configured to construct a position sequence according to the position information obtained in the current period and the position information obtained in the previous two periods in each period;
the user movement detection module 203 is used for recording the starting place and the starting time of the user when the user movement is detected according to the position sequence for the first time, determining that the user finishes the trip when the times that the user does not move continuously according to the position sequence in the subsequent period reach the preset times, and recording the destination and the finishing time of the user;
the travel mode determining module 204 is configured to determine a travel mode of the user according to the departure time, the end time, the destination, and the starting location.
On the basis of the above embodiment, the location information determining module 201 includes a base station determining sub-module and a location determining sub-module;
the base station determining submodule is used for determining a base station which communicates with a user mobile phone according to the signaling data;
the position determining submodule is used for determining a traffic cell where the base station is located, acquiring longitude and latitude coordinates of the traffic cell, and taking the longitude and latitude coordinates as position information of a user.
On the basis of the above embodiment, the user movement detection module 203 includes a first distance calculation sub-module, a second distance calculation sub-module, and a movement determination sub-module;
the first distance calculation submodule is used for calculating a first distance moved by the user according to the first position information and the second position information; the second position information is position information acquired in the last period in the position sequence, and the first position information is position information acquired in the last period in the position sequence;
the second distance calculation submodule is used for calculating a second distance moved by the user according to the second position information and the third position information; the third position information is position information obtained in the current period in the position sequence;
the movement determination submodule is used for calculating a difference value between the first distance and the second distance, and when the difference value is greater than a preset distance, the movement of the user is determined; otherwise, it is determined that the user has not moved.
On the basis of the above embodiment, the user movement detection module 203 includes a first information determination sub-module, configured to determine, when the user movement is detected according to the position sequence for the first time, a starting location of the user and a departure time of the user according to the position information acquired in the last cycle in the position sequence.
On the basis of the above embodiment, the user movement detection module 203 includes a stationary number determination sub-module, a first period determination sub-module, a first position sequence acquisition sub-module, and a first recording sub-module;
the stationary frequency determining submodule is used for determining that the user finishes the trip when the frequency that the user does not move is continuously detected to reach the preset frequency according to the position sequence in the subsequent period;
the first period determining submodule is used for determining that the user does not move for the first time in a period of detecting that the user does not move for the preset times;
the first position sequence acquisition submodule is used for acquiring a first target position sequence of a first target period;
and the end information recording sub-module is used for acquiring first target position information of the previous period of the first target period in the first target position sequence, determining a destination of the user according to the first target position information, and determining end time of the user according to the previous period of the first target period.
On the basis of the above embodiment, the travel mode determining module 204 includes a duration determining sub-module, a distance determining sub-module, a moving speed determining sub-module, and a travel mode determining sub-module;
the time length determining submodule is used for calculating the total time length of the user trip according to the starting time and the ending time;
the distance determining submodule is used for calculating the total distance moved by the user according to the destination and the starting place;
the moving speed determining submodule is used for calculating the moving speed of the user according to the total duration and the total distance;
and the travel mode determining submodule is used for determining the travel mode of the user according to the moving speed and the total distance.
The present embodiment further provides a terminal device, as shown in fig. 4, a terminal device 30, where the terminal device includes a processor 300 and a memory 301;
the memory 301 is used for storing a computer program 302 and transmitting the computer program 302 to the processor;
the processor 300 is configured to execute the steps in the embodiment of the method for determining a user travel pattern according to the instructions in the computer program 302.
Illustratively, the computer program 302 may be partitioned into one or more modules/units that are stored in the memory 301 and executed by the processor 300 to accomplish the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 302 in the terminal device 30.
The terminal device 30 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal device 30 may include, but is not limited to, a processor 300 and a memory 301. Those skilled in the art will appreciate that fig. 4 is merely an example of the terminal device 30, and does not constitute a limitation of the terminal device 30, and may include more or less components than those shown, or combine some of the components, or different components, for example, the terminal device 30 may further include an input-output device, a network access device, a bus, etc.
The Processor 300 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 301 may be an internal storage unit of the terminal device 30, such as a hard disk or a memory of the terminal device 30. The memory 301 may also be an external storage device of the terminal device 30, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device 30. Further, the memory 301 may also include both an internal storage unit and an external storage device of the terminal device 30. The memory 301 is used for storing the computer program and other programs and data required by the terminal device 30. The memory 301 may also be used to temporarily store data that has been output or is to be output.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one type of logical functional division, and other divisions may be realized in practice, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing computer programs.
The present application also provides a storage medium containing computer-executable instructions which, when executed by a computer processor, perform a method of user travel pattern determination, the method comprising the steps of:
periodically acquiring signaling data of a mobile phone of a user, and determining position information of the user according to the signaling data;
in each period, constructing a position sequence according to the position information acquired in the current period and the position information acquired in the previous two periods;
when the user is detected to move according to the position sequence for the first time, recording the starting place and the starting time of the user, and when the times that the user does not move is continuously detected to reach the preset times in the subsequent period according to the position sequence, determining that the user finishes traveling, and recording the destination and the ending time of the user;
and determining the travel mode of the user according to the departure time, the end time, the destination and the starting place.
It is to be noted that the foregoing is only illustrative of the presently preferred embodiments and application of the principles of the present invention. It will be understood by those skilled in the art that the present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the application. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the appended claims.

Claims (10)

1. A user travel mode determination method is characterized by comprising the following steps:
periodically acquiring signaling data of a mobile phone of a user, and determining position information of the user according to the signaling data;
in each period, constructing a position sequence according to the position information acquired in the current period and the position information acquired in the previous two periods;
when the user is detected to move according to the position sequence for the first time, recording the starting place and the starting time of the user, and when the times that the user does not move is continuously detected to reach the preset times in the subsequent period according to the position sequence, determining that the user finishes traveling, and recording the destination and the ending time of the user;
and determining the travel mode of the user according to the departure time, the end time, the destination and the starting place.
2. The method according to claim 1, wherein the determining the location information of the user according to the signaling data includes:
determining a base station communicating with the user mobile phone according to the signaling data;
and determining a traffic cell where the base station is located, acquiring longitude and latitude coordinates of the traffic cell, and taking the longitude and latitude coordinates as the position information of the user.
3. The method for determining a user's travel mode according to claim 1, wherein detecting whether the user moves according to the position sequence includes:
calculating a first distance moved by the user according to the first position information and the second position information; the second position information is position information acquired in the last period in the position sequence, and the first position information is position information acquired in the last period in the position sequence;
calculating a second distance moved by the user according to the second position information and the third position information; the third position information is position information acquired in the current period in the position sequence;
calculating a difference value between the first distance and the second distance, and determining that the user moves when the difference value is greater than a preset distance; otherwise, it is determined that the user has not moved.
4. A method for determining a user's travel pattern according to claim 1, wherein said recording a starting location and a departure time of the user when the user's movement is detected according to the position sequence for the first time comprises:
when the user movement is detected according to the position sequence for the first time, determining the starting place of the user and the starting time of the user according to the position information acquired in the last period in the position sequence.
5. The method according to claim 1, wherein the determining that the user finishes traveling and recording the destination and the end time of the user when the number of times that the user is continuously detected not to move according to the position sequence reaches a preset number in the subsequent period comprises:
when the number of times that the user does not move is continuously detected to reach the preset number of times according to the position sequence in the subsequent period, determining that the user finishes traveling;
in a period that the user is detected not to move for continuous preset times, determining that the user is detected not to move for the first time for a first target period;
acquiring a first target position sequence of the first target period;
in the first target position sequence, first target position information of a previous period of the first target period is obtained, a destination of the user is determined according to the first target position information, and an end time of the user is determined according to the previous period of the first target period.
6. A method for determining a user's travel pattern according to claim 1, wherein determining the user's travel pattern according to the departure time, the end time, the destination and the starting location comprises:
calculating the total trip time of the user according to the departure time and the ending time;
calculating the total distance moved by the user according to the destination and the starting place;
calculating the moving speed of the user according to the total duration and the total distance;
and determining the travel mode of the user according to the moving speed and the total distance.
7. A user travel mode determination device, comprising:
the system comprises a position information determining module, a position information determining module and a position information determining module, wherein the position information determining module is used for periodically acquiring signaling data of a mobile phone of a user and determining position information of the user according to the signaling data;
the position sequence building module is used for building a position sequence according to the position information obtained in the current period and the position information obtained in the previous two periods in each period;
the user movement detection module is used for recording the starting place and the starting time of the user when the user movement is detected according to the position sequence for the first time, determining that the user finishes traveling when the number of times that the user does not move is detected to reach the preset number of times continuously according to the position sequence in the subsequent period, and recording the destination and the ending time of the user;
and the travel mode determining module is used for determining the travel mode of the user according to the departure time, the end time, the destination and the starting place.
8. A user travel mode determining apparatus according to claim 7, wherein the location information determining module includes a base station determining sub-module and a location determining sub-module;
the base station determining submodule is used for determining a base station which communicates with the user mobile phone according to the signaling data;
the position determination submodule is used for determining a traffic cell where the base station is located, acquiring longitude and latitude coordinates of the traffic cell, and taking the longitude and latitude coordinates as position information of the user.
9. A terminal device, characterized in that the terminal device comprises a processor and a memory;
the memory is used for storing a computer program and transmitting the computer program to the processor;
the processor is configured to execute a user travel mode determination method according to any one of claims 1 to 7 according to instructions in the computer program.
10. A storage medium storing computer-executable instructions for performing a user travel pattern determination method as claimed in any one of claims 1-7 when executed by a computer processor.
CN202211080499.2A 2022-09-05 2022-09-05 User travel mode determination method and device, terminal equipment and storage medium Pending CN115442758A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211080499.2A CN115442758A (en) 2022-09-05 2022-09-05 User travel mode determination method and device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211080499.2A CN115442758A (en) 2022-09-05 2022-09-05 User travel mode determination method and device, terminal equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115442758A true CN115442758A (en) 2022-12-06

Family

ID=84247946

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211080499.2A Pending CN115442758A (en) 2022-09-05 2022-09-05 User travel mode determination method and device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115442758A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116193402A (en) * 2023-02-16 2023-05-30 智慧足迹数据科技有限公司 Subway user identification method, subway user identification device, computer equipment and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107040894A (en) * 2017-04-21 2017-08-11 杭州市综合交通研究中心 A kind of resident trip OD acquisition methods based on mobile phone signaling data
CN108650632A (en) * 2018-04-28 2018-10-12 广州市交通规划研究院 It is a kind of based on duty live correspondence and when space kernel clustering stationary point judgment method
CN109561386A (en) * 2018-11-23 2019-04-02 东南大学 A kind of Urban Residential Trip activity pattern acquisition methods based on multi-source location data

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107040894A (en) * 2017-04-21 2017-08-11 杭州市综合交通研究中心 A kind of resident trip OD acquisition methods based on mobile phone signaling data
CN108650632A (en) * 2018-04-28 2018-10-12 广州市交通规划研究院 It is a kind of based on duty live correspondence and when space kernel clustering stationary point judgment method
CN109561386A (en) * 2018-11-23 2019-04-02 东南大学 A kind of Urban Residential Trip activity pattern acquisition methods based on multi-source location data

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
唐杰: "《基于手机信令的出行方式识别方法研究》", 《中国优秀硕士学位论文全文数据库 (工程科技Ⅱ辑)》, vol. 2020, no. 02, pages 3 - 5 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116193402A (en) * 2023-02-16 2023-05-30 智慧足迹数据科技有限公司 Subway user identification method, subway user identification device, computer equipment and readable storage medium

Similar Documents

Publication Publication Date Title
Nagy et al. Survey on traffic prediction in smart cities
US10984652B2 (en) Method and system for modeling and processing vehicular traffic data and information and applying thereof
CN109151168B (en) Switching method and device of riding codes, mobile terminal and readable storage medium
Biagioni et al. Easytracker: automatic transit tracking, mapping, and arrival time prediction using smartphones
Poonawala et al. Singapore in motion: Insights on public transport service level through farecard and mobile data analytics
US20170067745A1 (en) Hybrid road network and grid based spatial-temporal indexing under missing road links
CN109916413B (en) Road matching method, system, device and storage medium based on grid division
Wang et al. A big data approach for smart transportation management on bus network
CN111078818B (en) Address analysis method and device, electronic equipment and storage medium
US8830909B1 (en) Methods and systems to determine user relationships, events and spaces using wireless fingerprints
CN103929719B (en) The optimization method and optimization device of location information
EP2831545B1 (en) Digital location-based data methods and product
CN106558220B (en) A kind of statistical method and device of traffic volume of highway
CN111105628A (en) Parking lot portrait construction method and device
CN103167605B (en) A kind of WiFi outdoor positioning method that satellite auxiliary signal coverage diagram is set up/upgraded
CN106982413A (en) The Forecasting Methodology and device of a kind of region passenger flow trend
CN111475746B (en) Point-of-interest mining method, device, computer equipment and storage medium
CN115442758A (en) User travel mode determination method and device, terminal equipment and storage medium
US11428534B2 (en) Method, apparatus, and computer program product for map matching location data to a map
CN112235714B (en) POI positioning method and device based on artificial intelligence, computer equipment and medium
JP5998182B2 (en) POI data generation device, terminal device, POI data generation method and program
CN106682239B (en) One kind being based on the associated indoor location prediction technique of motion feature, apparatus and system
CN106781470B (en) Method and device for processing running speed of urban road
CN110705480A (en) Target object stop point positioning method and related device
CN111243266A (en) Vehicle information determination method and device 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