CN113821738A - Travel chain acquisition method and device, electronic equipment and storage medium - Google Patents

Travel chain acquisition method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113821738A
CN113821738A CN202111381800.9A CN202111381800A CN113821738A CN 113821738 A CN113821738 A CN 113821738A CN 202111381800 A CN202111381800 A CN 202111381800A CN 113821738 A CN113821738 A CN 113821738A
Authority
CN
China
Prior art keywords
information
trip
historical
travel
target
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
CN202111381800.9A
Other languages
Chinese (zh)
Inventor
云旭
高永�
李惠
朱丽云
徐德中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jiaoyan Intelligent Technology Co ltd
Original Assignee
Beijing Jiaoyan Intelligent Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jiaoyan Intelligent Technology Co ltd filed Critical Beijing Jiaoyan Intelligent Technology Co ltd
Priority to CN202111381800.9A priority Critical patent/CN113821738A/en
Publication of CN113821738A publication Critical patent/CN113821738A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/219Managing data history or versioning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/40Business processes related to the transportation industry

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Economics (AREA)
  • Evolutionary Biology (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Artificial Intelligence (AREA)
  • Remote Sensing (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Evolutionary Computation (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Traffic Control Systems (AREA)

Abstract

The embodiment of the invention provides a method and a device for acquiring a travel chain, electronic equipment and a storage medium, wherein the method comprises the following steps: obtaining target travel information, wherein the target travel information comprises travel starting point information and travel end point information; obtaining historical trip information of which the matching value with the target trip information is greater than or equal to a preset threshold value from the historical information; and determining a trip chain corresponding to the target trip information according to the historical trip information. According to the method for acquiring the trip chain, the target trip information of the user is acquired and is compared with the historical information for analysis, so that the trip chain of the user is accurately determined, and the effect of acquiring and improving the accuracy of acquiring the trip chain is achieved.

Description

Travel chain acquisition method and device, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of big data, in particular to a method and a device for acquiring a trip chain, electronic equipment and a storage medium.
Background
In recent years, under the background of big data, research and application of identifying individual trip chains through analysis of data are increasing, for example, trip chain identification methods based on mobile phone signaling data, public transportation IC card data, floating car data and the like are provided, and since the data record detailed trip time and position information, basic conditions are provided for trip origin-destination identification, trip track identification and the like.
In the current research on individual trip chain identification, the sample size is insufficient, so that the trip chain acquisition precision is low, or the trip chains of different transportation modes are overlapped simply, so that the trip chain acquisition precision is low.
Disclosure of Invention
The embodiment of the invention provides a method and a device for acquiring a trip chain, electronic equipment and a storage medium, and solves the problem of low accuracy of acquisition of the trip chain caused by an acquisition mode of the trip chain in the prior art.
In a first aspect, an embodiment of the present invention provides a method for acquiring a travel chain, including:
obtaining target travel information, wherein the target travel information comprises travel starting point information and travel end point information;
obtaining historical trip information of which the matching value with the target trip information is greater than or equal to a preset threshold value from the historical information;
and determining a trip chain corresponding to the target trip information according to the historical trip information.
Optionally, the obtaining of the historical travel information, of which the matching value with the target travel information is greater than or equal to a preset threshold, from the historical information includes:
determining road section information according to the target travel information;
and acquiring historical travel information of which the matching value with the road section information is greater than or equal to a preset threshold value from the historical information.
Optionally, the determining the road section information according to the target travel information includes:
determining at least one intermediate transfer point information based on the trip start point information and the trip end point information;
and acquiring the road section information according to the travel starting point information, the travel end point information and the at least one intermediate transfer point information.
Optionally, the obtaining of the historical travel information of which the matching value with the road section information is greater than or equal to a preset threshold from the historical information includes:
and acquiring historical trip information of which the matching value with the trip start point information, the trip end point information and the trip duration is greater than or equal to a preset threshold value according to the historical information.
Optionally, after obtaining the road section information according to the trip start point information, the trip end point information, and the at least one intermediate transfer point information, before obtaining the historical trip information of which the matching value with the target trip information is greater than or equal to a preset threshold from the historical information, the method includes:
acquiring a plurality of travel modes according to the road section information;
and performing relevance analysis based on the multiple travel modes to generate a preset travel chain.
Optionally, the obtaining of the historical travel information, of which the matching value with the target travel information is greater than or equal to a preset threshold, from the historical information includes:
performing relevance analysis according to the preset trip chain and a historical trip chain in the historical information to obtain an average relevance probability;
screening the average relevance probability according to a preset relevance probability, and reserving the average relevance probability which accords with the preset relevance probability;
and acquiring historical travel information of which the matching value with the target travel information is greater than or equal to a preset threshold value.
In a second aspect, an embodiment of the present invention further provides a device for acquiring a trip chain, including:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring target travel information which comprises travel starting point information and travel end point information;
the matching module is used for acquiring historical trip information of which the matching value with the target trip information is greater than or equal to a preset threshold value from the historical information;
and the determining module is used for determining a trip chain corresponding to the target trip information according to the historical trip information.
Optionally, the matching module includes:
the first matching submodule is used for determining road section information according to the target travel information;
and the second matching submodule is used for acquiring historical trip information of which the matching value with the road section information is greater than or equal to a preset threshold value from the historical information.
In a third aspect, an embodiment of the present invention further provides an electronic device, including a processor, a memory, and a program or an instruction stored in the memory and executable on the processor, where the program or the instruction, when executed by the processor, implements the steps of the trip chain obtaining method according to any one of the above embodiments.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a program or an instruction is stored, and when the program or the instruction is executed by a processor, the step of the method for acquiring a trip chain is implemented as any one of the above.
The embodiment of the invention provides a method and a device for acquiring a travel chain, electronic equipment and a storage medium, wherein the method comprises the following steps: obtaining target travel information, wherein the target travel information comprises travel starting point information and travel end point information; obtaining historical trip information of which the matching value with the target trip information is greater than or equal to a preset threshold value from the historical information; and determining a trip chain corresponding to the target trip information according to the historical trip information. According to the method for acquiring the trip chain, the target trip information of the user is acquired and is compared with the historical information for analysis, so that the trip chain of the user is accurately determined, and the effect of acquiring and improving the accuracy of acquiring the trip chain is achieved.
Drawings
Fig. 1 is a flowchart of a method for acquiring a trip chain according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a trip chain acquiring apparatus according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
A method for acquiring a travel chain according to an embodiment of the present application is described in detail below with reference to the accompanying drawings.
Fig. 1 is a flowchart of a method for acquiring a trip chain according to an embodiment of the present invention, where the method for acquiring a trip chain according to the embodiment includes:
step 101, obtaining target trip information, wherein the target trip information comprises trip starting point information and trip end point information.
In this embodiment, the trip chain refers to a connection mode in which an individual describes displacement in space for completing one or more activities, and may also be represented as a certain time sequence. In combination with the traditional definition of the trip chain, the public transportation trip chain is a process that a traveler uses public transportation means from a trip starting point to a trip ending point, and a complete public transportation trip can be divided into a plurality of trip stages by using transfer points, wherein each trip stage represents that the traveler uses the public transportation means once. By identifying a bus travel chain, the rules of the commuting travel demands of passengers can be analyzed, the commuting travel demands can reflect the travel characteristics and modes of people, are important basis of traffic planning and operation management, and are the basis of city bus network optimization and bus operation scheduling; the traffic condition of the road section is also an important index for determining the transport speed of the bus and the bus operation scheduling, so that the analysis of the travel demand rule and the road traffic condition is beneficial to improving the service level of morning and evening peak commuting.
The target travel information in this embodiment includes travel starting point information and travel ending point information of a user's travel, and specifically, the travel starting point information and the travel ending point information may be obtained by processing travel data generated by counting various transportation modes, where the multi-source transportation travel data includes but is not limited to: ground bus card swiping data, rail transit card swiping data, public bicycle card swiping data, ground bus route and stop data, rail transit route and stop data, public bicycle renting position data and the like. And based on the definition and classification of the public transportation trip chain, an algorithm for extracting the public transportation trip chain under different trip modes is provided. According to the method, bus IC card swiping data, subway card swiping data and public rental bicycle card swiping data are used, the characteristics of travel chains in different travel modes are analyzed, the time-space conditions of bus-to-bus transfer, bus-to-subway transfer, subway-to-subway transfer, bus-to-bicycle transfer and subway-to-bicycle transfer are judged, a transfer threshold value is determined, and 30min is taken as the transfer threshold value.
Illustratively, the extraction and calculation of the travel characteristic analysis indexes are carried out based on the travel chain, including passenger transfer characteristic analysis. For preprocessing the bus stop and line data, data matching is carried out through the relation of fields between static tables, so that the data between the two tables are summarized into a comprehensive ground bus basic data table containing line numbers, stop names and station longitude and latitude. Based on the method, when the travel chain is extracted, the transfer between the bus and the public transport, between the bus and the subway, between the bus and the bicycle and between the subway and the bicycle is determined according to the time-space discrimination conditions.
And 102, acquiring historical travel information of which the matching value with the target travel information is greater than or equal to a preset threshold value from the historical information.
In this embodiment, the historical information is historical data stored in a historical database, the historical data includes multi-source travel data in step 101, such as ground bus card swiping data, rail transit card swiping data, public rental bicycle card swiping data, ground bus route and station data, rail transit route and station data, public rental bicycle position data, and the like, correlation analysis and calculation are performed on the historical data, after the correlation probability is calculated, the historical travel information with a matching value greater than or equal to a preset threshold value is selected as strong correlation data.
And 103, determining a trip chain corresponding to the target trip information according to the historical trip information.
In this embodiment, according to the historical travel information acquired in step 102, a complete user ID association relationship is established by connecting the strong association IDs, and then the travel information of the relevant user is reversely derived, so as to establish a complete travel chain. Illustratively, according to a trip chain extraction algorithm, the trip chain extraction of different trip modes at different time intervals is completed by utilizing the bus IC card swiping data, the subway card swiping data and the public rental bicycle card swiping data, the extraction of 288969313 trip chain data is completed, and the transfer characteristics of the public transport passengers are analyzed. According to the statistical analysis of the trip chain extraction results, the trip chain trip mode categories include a non-transfer trip, 1 transfer, 2 transfers, 3 transfers and more than 3 transfer trips. The transfer modes comprise modes of ground bus-ground bus, ground bus-subway, bicycle-ground bus, bicycle-subway, bicycle-ground bus-subway and the like.
The embodiment of the invention provides a method for acquiring a trip chain, which comprises the following steps: obtaining target travel information, wherein the target travel information comprises travel starting point information and travel end point information; obtaining historical trip information of which the matching value with the target trip information is greater than or equal to a preset threshold value from the historical information; and determining a trip chain corresponding to the target trip information according to the historical trip information. According to the method for acquiring the trip chain, the target trip information of the user is acquired and is compared with the historical information for analysis, so that the trip chain of the user is accurately determined, and the effect of acquiring and improving the accuracy of acquiring the trip chain is achieved.
Optionally, the obtaining of the historical travel information, of which the matching value with the target travel information is greater than or equal to a preset threshold, from the historical information includes:
determining road section information according to the target travel information;
and acquiring historical travel information of which the matching value with the road section information is greater than or equal to a preset threshold value from the historical information.
In this embodiment, the target travel information includes travel starting point information and travel end point information of a user, so that each piece of route information of a travel can be acquired according to the travel starting point information and the travel end point information, for example, for a user to go from point a to point B, and a transfer station of C and D is included between point a and point B, so that the user can complete travel by means of point a-C-B or by means of point a-D-B, and therefore points a-C, C-B, A-D and D-B are both piece of route information, which is exemplified by point a and point B in this embodiment.
Optionally, the determining the road section information according to the target travel information includes:
determining at least one intermediate transfer point information based on the trip start point information and the trip end point information;
and acquiring the road section information according to the travel starting point information, the travel end point information and the at least one intermediate transfer point information.
In this embodiment, the position of the transfer hub plot k in the road network area is determined according to the trip start point information and the trip end point information, and a transfer hub set C is obtained, where k belongs to C. The transfer hub plot k represents intermediate transfer point information, and intermediate link information can be determined through the intermediate transfer point information.
Optionally, the obtaining of the historical travel information of which the matching value with the road section information is greater than or equal to a preset threshold from the historical information includes:
and acquiring historical trip information of which the matching value with the trip start point information, the trip end point information and the trip duration is greater than or equal to a preset threshold value according to the historical information.
In this embodiment, the trip duration obtained by subtracting the trip start point information from the trip important time may be obtained by obtaining the history information, and the trip duration, the trip start point information, and the trip end point information are merged and stored to inherit the ID in the original data, the start point position information, and the end point position information, and the time information, so as to generate the trip table, where the trip table includes: traffic means, ID, trip start time, trip end time, start point coordinates and end point coordinates.
Optionally, after obtaining the road section information according to the trip start point information, the trip end point information, and the at least one intermediate transfer point information, before obtaining the historical trip information of which the matching value with the target trip information is greater than or equal to a preset threshold from the historical information, the method includes:
acquiring a plurality of travel modes according to the road section information;
and performing relevance analysis based on the multiple travel modes to generate a preset travel chain.
Optionally, the obtaining of the historical travel information, of which the matching value with the target travel information is greater than or equal to a preset threshold, from the historical information includes:
performing relevance analysis according to the preset trip chain and a historical trip chain in the historical information to obtain an average relevance probability;
screening the average relevance probability according to a preset relevance probability, and reserving the average relevance probability which accords with the preset relevance probability;
and acquiring historical travel information of which the matching value with the target travel information is greater than or equal to a preset threshold value.
In this embodiment, multiple travel modes of the user can be obtained through the road section information, including but not limited to ground bus-ground bus, ground bus-subway, bicycle-ground bus, bicycle-subway, bicycle-ground bus-subway, and the like. Specifically, all information is summarized to form transportation means ID and geographical spatiotemporal information data on the basis of the previously generated trip table. And (4) matrixing the data, wherein ID _ n represents the ID number generated by each traffic mode obtained by statistics, and the geographic grid number of the starting point and the ending point of the travel chain and the time of starting and ending the travel of each row of the ID number are recorded in each row. And performing correlation analysis on the IC card end point matrix data and the starting point matrix data of other transportation modes, and rejecting completely unrelated IC card IDs through card side inspection.
Specifically, the processing is continued after obtaining the probability matrix of the relevance of each ID, and the IC card ID with strong relevance and the related transportation mode ID are extracted and placed in a strong relevance ID database. Then, the ID data with the association probability of 0 is deleted and the remaining data matrix is retained. And performing correlation analysis on the rest matrix data again, selecting normal weather historical trip data of tuesday, wednesday and thursday in the correlation calculation analysis to calculate the correlation probability according to the normal weather historical trip data, and storing the ID data with strong correlation into an ID database respectively. And calculating the average relevance probability based on the multi-calendar history data, and determining the strong association ID with the confidence coefficient of more than 80 percent as the association relation. And repeating the actions on the historical travel data of the buses, the subways, the shared bicycles and the taxis until all the IDs are analyzed. And establishing a complete user ID association relation by connecting the strong association IDs, and reversely deducing the travel information of the related users so as to establish a complete travel chain. And adjusting the values of the time interval and the grid threshold value based on the known data, comprehensively considering the calculation force to perform relevance analysis, and correlating the IDs of different traffic modes to obtain an OneID individual trip chain. The mobile phone signaling data is fused with multi-source data such as network appointment, shared bicycle order data, buses and subway IC cards, the unique ID is formed by performing space-time correlation analysis on the multi-source data, and the oneID is reversely connected with the data source trip data, so that a full and more accurate individual trip chain is obtained.
The method for identifying the OneID individual trip chain based on multi-source data space-time fusion calculation is an intensive and reliable information acquisition mode for acquiring trip chains of various transportation modes and a full trip OD, and can be popularized and applied in a large range in a short time for cities.
The embodiment of the invention provides a method for acquiring a trip chain, which comprises the following steps: obtaining target travel information, wherein the target travel information comprises travel starting point information and travel end point information; obtaining historical trip information of which the matching value with the target trip information is greater than or equal to a preset threshold value from the historical information; and determining a trip chain corresponding to the target trip information according to the historical trip information. According to the method for acquiring the trip chain, the target trip information of the user is acquired and is compared with the historical information for analysis, so that the trip chain of the user is accurately determined, and the effect of acquiring and improving the accuracy of acquiring the trip chain is achieved.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a trip chain acquiring apparatus according to an embodiment of the present invention, where the trip chain acquiring apparatus 200 according to the embodiment includes:
an obtaining module 210, configured to obtain target travel information, where the target travel information includes travel starting point information and travel ending point information;
the matching module 220 is configured to obtain historical travel information, of which a matching value with the target travel information is greater than or equal to a preset threshold, from the historical information;
a determining module 230, configured to determine, according to the historical trip information, a trip chain corresponding to the target trip information.
Optionally, the matching module 220 includes:
the first matching submodule is used for determining road section information according to the target travel information;
and the second matching submodule is used for acquiring historical trip information of which the matching value with the road section information is greater than or equal to a preset threshold value from the historical information.
Optionally, the first matching sub-module includes:
a first matching unit for determining at least one intermediate transfer point information based on the trip start point information and the trip end point information;
and the second matching unit is used for acquiring the road section information according to the travel starting point information, the travel end point information and at least one piece of intermediate transfer point information.
Optionally, the second matching sub-module includes:
the third matching unit is used for acquiring historical trip information of which the matching value with the road section information is greater than or equal to a preset threshold from the historical information, and comprises:
and the fourth matching unit is used for acquiring historical trip information of which the matching value with the trip start point information, the trip end point information and the trip duration is greater than or equal to a preset threshold value according to the historical information.
Optionally, the method further includes:
the travel acquisition module is used for acquiring a plurality of travel modes according to the road section information;
and the trip generation module is used for carrying out relevance analysis based on the multiple trip modes to generate a preset trip chain.
Optionally, the matching module 220 further includes:
the first analysis submodule is used for carrying out relevance analysis according to the preset trip chain and a historical trip chain in the historical information to obtain an average relevance probability;
the second analysis submodule is used for screening the average relevance probability according to a preset relevance probability and reserving the average relevance probability which accords with the preset relevance probability;
and the third analysis submodule is used for acquiring historical travel information of which the matching value with the target travel information is greater than or equal to a preset threshold value.
The device for acquiring the trip chain provided by the embodiment of the application comprises: the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring target travel information which comprises travel starting point information and travel end point information; the matching module is used for acquiring historical trip information of which the matching value with the target trip information is greater than or equal to a preset threshold value from the historical information; and the determining module is used for determining a trip chain corresponding to the target trip information according to the historical trip information. According to the method for acquiring the trip chain, the target trip information of the user is acquired and is compared with the historical information for analysis, so that the trip chain of the user is accurately determined, and the effect of acquiring and improving the accuracy of acquiring the trip chain is achieved.
Fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, as shown in fig. 3, the electronic device 300 includes a memory 310 and a processor 320, the number of the processors 320 in the electronic device 300 may be one or more, and one processor 320 is taken as an example in fig. 3; the memory 310 and the processor 320 in the server may be connected by a bus or other means, and fig. 3 illustrates the connection by the bus as an example.
The memory 310 is a computer-readable storage medium and can be used for storing software programs, computer-executable programs and modules, such as program instructions/modules corresponding to the trip chain acquisition method in the embodiment of the present invention, and the processor 320 executes various functional applications and data processing of the server/terminal/server by executing the software programs, instructions and modules stored in the memory 310, so as to implement the trip chain acquisition method.
Wherein the processor 320 is configured to run the computer program stored in the memory 310, and implement the following steps:
obtaining target travel information, wherein the target travel information comprises travel starting point information and travel end point information;
obtaining historical trip information of which the matching value with the target trip information is greater than or equal to a preset threshold value from the historical information;
and determining a trip chain corresponding to the target trip information according to the historical trip information.
Optionally, the obtaining of the historical travel information, of which the matching value with the target travel information is greater than or equal to a preset threshold, from the historical information includes:
determining road section information according to the target travel information;
and acquiring historical travel information of which the matching value with the road section information is greater than or equal to a preset threshold value from the historical information.
Optionally, the determining the road section information according to the target travel information includes:
determining at least one intermediate transfer point information based on the trip start point information and the trip end point information;
and acquiring the road section information according to the travel starting point information, the travel end point information and the at least one intermediate transfer point information.
Optionally, the obtaining of the historical travel information of which the matching value with the road section information is greater than or equal to a preset threshold from the historical information includes:
and acquiring historical trip information of which the matching value with the trip start point information, the trip end point information and the trip duration is greater than or equal to a preset threshold value according to the historical information.
Optionally, after obtaining the road section information according to the trip start point information, the trip end point information, and the at least one intermediate transfer point information, before obtaining the historical trip information of which the matching value with the target trip information is greater than or equal to a preset threshold from the historical information, the method includes:
acquiring a plurality of travel modes according to the road section information;
and performing relevance analysis based on the multiple travel modes to generate a preset travel chain.
Optionally, the obtaining of the historical travel information, of which the matching value with the target travel information is greater than or equal to a preset threshold, from the historical information includes:
performing relevance analysis according to the preset trip chain and a historical trip chain in the historical information to obtain an average relevance probability;
screening the average relevance probability according to a preset relevance probability, and reserving the average relevance probability which accords with the preset relevance probability;
and acquiring historical travel information of which the matching value with the target travel information is greater than or equal to a preset threshold value.
The electronic equipment provided by the embodiment of the application is used for executing the following method, and the method comprises the following steps: obtaining target travel information, wherein the target travel information comprises travel starting point information and travel end point information; obtaining historical trip information of which the matching value with the target trip information is greater than or equal to a preset threshold value from the historical information; and determining a trip chain corresponding to the target trip information according to the historical trip information. According to the method for acquiring the trip chain, the target trip information of the user is acquired and is compared with the historical information for analysis, so that the trip chain of the user is accurately determined, and the effect of acquiring and improving the accuracy of acquiring the trip chain is achieved.
An embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the method embodiment shown in fig. 1, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The computer-readable storage media of embodiments of the invention may take any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a storage medium may be transmitted over any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or terminal. In the case of a remote computer, the remote computer may operate over any of a variety of networks: including a Local Area Network (LAN) or a Wide Area Network (WAN), to the user's computer, or may be connected to an external computer (for example, through the internet using an internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention 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 invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A method for acquiring a trip chain is characterized by comprising the following steps:
obtaining target travel information, wherein the target travel information comprises travel starting point information and travel end point information;
obtaining historical trip information of which the matching value with the target trip information is greater than or equal to a preset threshold value from the historical information;
and determining a trip chain corresponding to the target trip information according to the historical trip information.
2. The method according to claim 1, wherein the obtaining of the historical travel information from the historical information, the matching value of which with the target travel information is greater than or equal to a preset threshold value, comprises:
determining road section information according to the target travel information;
and acquiring historical travel information of which the matching value with the road section information is greater than or equal to a preset threshold value from the historical information.
3. The method of claim 2, wherein the determining the section information according to the target travel information comprises:
determining at least one intermediate transfer point information based on the trip start point information and the trip end point information;
and acquiring the road section information according to the travel starting point information, the travel end point information and the at least one intermediate transfer point information.
4. The method according to claim 2, wherein the obtaining of the historical travel information, of which the matching value with the road section information is greater than or equal to a preset threshold value, from the historical information comprises:
and acquiring historical trip information of which the matching value with the trip start point information, the trip end point information and the trip duration is greater than or equal to a preset threshold value according to the historical information.
5. The method according to claim 3, wherein after obtaining the section information according to the trip start point information, the trip end point information and at least one intermediate transfer point information, before obtaining historical travel information with a matching value greater than or equal to a preset threshold value with the target travel information from the historical information comprises:
acquiring a plurality of travel modes according to the road section information;
and performing relevance analysis based on the multiple travel modes to generate a preset travel chain.
6. The method according to claim 5, wherein said obtaining historical travel information from historical information, the matching value of which with the target travel information is greater than or equal to a preset threshold value, comprises:
performing relevance analysis according to the preset trip chain and a historical trip chain in the historical information to obtain an average relevance probability;
screening the average relevance probability according to a preset relevance probability, and reserving the average relevance probability which accords with the preset relevance probability;
and acquiring historical travel information of which the matching value with the target travel information is greater than or equal to a preset threshold value.
7. A trip chain acquisition device, comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring target travel information which comprises travel starting point information and travel end point information;
the matching module is used for acquiring historical trip information of which the matching value with the target trip information is greater than or equal to a preset threshold value from the historical information;
and the determining module is used for determining a trip chain corresponding to the target trip information according to the historical trip information.
8. A trip chain acquisition apparatus as claimed in claim 7, wherein said matching module comprises:
the first matching submodule is used for determining road section information according to the target travel information;
and the second matching submodule is used for acquiring historical trip information of which the matching value with the road section information is greater than or equal to a preset threshold value from the historical information.
9. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the trip chain acquisition method according to any one of claims 1 to 6.
10. A computer-readable storage medium, characterized in that the readable storage medium has stored thereon a program or instructions which, when executed by a processor, implement the steps of the method for trip chain acquisition according to any one of claims 1 to 6.
CN202111381800.9A 2021-11-22 2021-11-22 Travel chain acquisition method and device, electronic equipment and storage medium Pending CN113821738A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111381800.9A CN113821738A (en) 2021-11-22 2021-11-22 Travel chain acquisition method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111381800.9A CN113821738A (en) 2021-11-22 2021-11-22 Travel chain acquisition method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113821738A true CN113821738A (en) 2021-12-21

Family

ID=78917919

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111381800.9A Pending CN113821738A (en) 2021-11-22 2021-11-22 Travel chain acquisition method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113821738A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110137907A1 (en) * 2009-12-03 2011-06-09 Sony Computer Entertainment Inc. Information processing apparatus and information processing method outputting information on movement of person
CN106530190A (en) * 2016-10-28 2017-03-22 西安建筑科技大学 Method for judging getting-off stations of public transportation IC card passengers based on historical trip patterns
CN110118567A (en) * 2018-02-06 2019-08-13 北京嘀嘀无限科技发展有限公司 Trip mode recommended method and device
CN110392343A (en) * 2018-04-16 2019-10-29 杭州海康威视系统技术有限公司 A kind of acquisition methods and device of beginning-of-line and travel destination out
CN110598999A (en) * 2019-08-21 2019-12-20 广东方纬科技有限公司 Traffic travel analysis method, system and storage medium based on individual data
CN111985710A (en) * 2020-08-18 2020-11-24 深圳诺地思维数字科技有限公司 Bus passenger trip station prediction method, storage medium and server
CN112579915A (en) * 2021-02-26 2021-03-30 深圳市城市交通规划设计研究中心股份有限公司 Analysis method and device for trip chain

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110137907A1 (en) * 2009-12-03 2011-06-09 Sony Computer Entertainment Inc. Information processing apparatus and information processing method outputting information on movement of person
CN106530190A (en) * 2016-10-28 2017-03-22 西安建筑科技大学 Method for judging getting-off stations of public transportation IC card passengers based on historical trip patterns
CN110118567A (en) * 2018-02-06 2019-08-13 北京嘀嘀无限科技发展有限公司 Trip mode recommended method and device
CN110392343A (en) * 2018-04-16 2019-10-29 杭州海康威视系统技术有限公司 A kind of acquisition methods and device of beginning-of-line and travel destination out
CN110598999A (en) * 2019-08-21 2019-12-20 广东方纬科技有限公司 Traffic travel analysis method, system and storage medium based on individual data
CN111985710A (en) * 2020-08-18 2020-11-24 深圳诺地思维数字科技有限公司 Bus passenger trip station prediction method, storage medium and server
CN112579915A (en) * 2021-02-26 2021-03-30 深圳市城市交通规划设计研究中心股份有限公司 Analysis method and device for trip chain

Similar Documents

Publication Publication Date Title
CN108320501B (en) Bus route identification method based on user mobile phone signaling
Ma et al. Transit smart card data mining for passenger origin information extraction
CN110008413B (en) Traffic travel problem query method and device
CN107958031B (en) Resident travel OD distribution extraction method based on fusion data
Assemi et al. Developing and validating a statistical model for travel mode identification on smartphones
CN111653096A (en) Urban trip mode identification method based on mobile phone signaling data
CN110969861B (en) Vehicle identification method, device, equipment and computer storage medium
CN111932925A (en) Method, device and system for determining travel passenger flow of public transport station
CN110836675A (en) Decision tree-based automatic driving search decision method
CN114428828A (en) Method and device for digging new road based on driving track and electronic equipment
CN114363842A (en) Method and device for predicting getting-off station of bus passenger based on mobile phone signaling data
CN112511982A (en) Subway passenger track real-time tracing and restoring method with automatic trip semantic annotation
CN115862331A (en) Vehicle travel track reconstruction method considering bayonet network topological structure
Wang et al. GPS‐data‐driven dynamic destination prediction for on‐demand one‐way carsharing system
CN115714957A (en) Subway trip identification method, device, equipment and medium based on mobile phone signaling
JP6307376B2 (en) Traffic analysis system, traffic analysis program, and traffic analysis method
CN115114533A (en) Public transportation travel user portrait construction method and system based on knowledge graph
Jang et al. Pedestrian mode identification, classification and characterization by tracking mobile data
Pinelli et al. A methodology for denoising and generating bus infrastructure data
Zhou et al. Big data for intrametropolitan human movement studies A case study of bus commuters based on smart card data
CN113821738A (en) Travel chain acquisition method and device, electronic equipment and storage medium
CN110782098A (en) Customized bus planning method based on taxi passenger carrying data
CN114245329B (en) Traffic mode identification method, device, equipment and storage medium
Sari Aslam et al. Trip purpose identification using pairwise constraints based semi-supervised clustering
CN112699955A (en) User classification method, device, equipment and storage medium

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20211221