CN111125179B - Travel mode determining method, device, equipment and storage medium - Google Patents
Travel mode determining method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN111125179B CN111125179B CN201811280947.7A CN201811280947A CN111125179B CN 111125179 B CN111125179 B CN 111125179B CN 201811280947 A CN201811280947 A CN 201811280947A CN 111125179 B CN111125179 B CN 111125179B
- Authority
- CN
- China
- Prior art keywords
- travel
- determining
- mode
- target resident
- travel mode
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 45
- 230000000694 effects Effects 0.000 claims abstract description 107
- 101100100125 Mus musculus Traip gene Proteins 0.000 claims abstract description 24
- 238000004590 computer program Methods 0.000 claims description 4
- 238000001914 filtration Methods 0.000 claims description 4
- 239000000758 substrate Substances 0.000 claims 1
- 230000003287 optical effect Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 230000009191 jumping Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000008030 elimination Effects 0.000 description 1
- 238000003379 elimination reaction Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 235000021018 plums Nutrition 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/40—Business processes related to the transportation industry
Landscapes
- Business, Economics & Management (AREA)
- Health & Medical Sciences (AREA)
- Economics (AREA)
- General Health & Medical Sciences (AREA)
- Human Resources & Organizations (AREA)
- Marketing (AREA)
- Primary Health Care (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Navigation (AREA)
Abstract
The embodiment of the invention discloses a travel mode determining method, a travel mode determining device, travel mode determining equipment and a travel mode storing medium. The method comprises the following steps: acquiring a navigation inquiry record and/or a navigation event of a target resident in a history trip activity; counting the times of selecting various travel modes by a target resident according to the navigation inquiry records and/or the navigation events; and determining the conventional travel modes of the target residents in conventional travel activities according to the magnitude relation of the times of selecting various travel modes by the target residents. The embodiment of the invention adopts big data statistics, and can accurately and efficiently determine the conventional travel mode.
Description
Technical Field
The embodiment of the invention relates to big data technology, in particular to a travel mode determining method, a travel mode determining device, travel mode determining equipment and a storage medium.
Background
Travel means refers to a method or a vehicle used in a resident's travel activities, including but not limited to walking, riding, driving, public transportation means (including buses and subways), and the like.
With the development of urban traffic roads and vehicles, residents can choose various traveling modes in conventional traveling. These travel patterns vary depending on individual economies, vehicle configuration, length of route, road congestion, and even personal preference. Currently, there is no effective method for determining the conventional travel mode of residents in conventional travel.
Disclosure of Invention
The embodiment of the invention provides a travel mode determining method, a travel mode determining device, travel mode determining equipment and a travel mode determining storage medium, so that the conventional travel mode of residents can be determined efficiently and accurately.
In a first aspect, an embodiment of the present invention provides a travel mode determining method, including:
acquiring a navigation inquiry record and/or a navigation event of a target resident in a history trip activity;
counting the times of selecting various travel modes by a target resident according to the navigation inquiry records and/or the navigation events;
and determining the conventional travel modes of the target residents in conventional travel activities according to the magnitude relation of the times of selecting various travel modes by the target residents.
In a second aspect, an embodiment of the present invention further provides a travel mode determining device, including:
the acquisition module is used for acquiring navigation inquiry records and/or navigation events of the target residents in the historical travel activities;
the statistics module is used for counting the times of selecting various travel modes by the target residents according to the navigation inquiry records and/or the navigation events;
and the determining module is used for determining the conventional travel modes of the target residents in the conventional travel activities according to the magnitude relation of the times of selecting various travel modes by the target residents.
In a third aspect, an embodiment of the present invention further provides an electronic device, including:
one or more processors;
a memory for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the travel pattern determination method of any of the embodiments.
In a fourth aspect, an embodiment of the present invention further provides a computer readable storage medium, where a computer program is stored, where the program is executed by a processor to implement the travel mode determining method according to any one of the embodiments.
According to the embodiment of the invention, the navigation inquiry records and/or the navigation events of the target residents in the historical travel activities are obtained, and the times of selecting various travel modes by the target residents are counted according to the navigation inquiry records and/or the navigation events, so that the preference or travel habit of the travel modes of the target residents is obtained according to the big data, and the navigation inquiry records and/or the navigation events are used as data basis, so that the accuracy and the effectiveness of the data are ensured; the conventional travel mode of the target resident in the conventional travel activities is determined according to the magnitude relation of the times of selecting various travel modes by the target resident, so that the conventional travel mode is directly determined according to the preference or the travel habit of the travel mode of the target resident, and the conventional travel mode can be accurately and efficiently determined by the method based on big data statistics.
Drawings
Fig. 1 is a flowchart of a travel mode determining method according to an embodiment of the present invention;
fig. 2 is a flowchart of a travel mode determining method according to a second embodiment of the present invention;
fig. 3 is a flowchart of a travel mode determining method according to a third embodiment of the present invention;
fig. 4 is a flowchart of a travel mode determining method according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of a travel mode determining device according to a fifth embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to a sixth embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings.
Example 1
Fig. 1 is a flowchart of a travel pattern determining method according to an embodiment of the present invention, which is applicable to a case of determining a conventional travel pattern of a target resident in a conventional travel activity, for example, a commuting pattern, and the method may be performed by a travel pattern determining device, which may be composed of hardware and/or software and integrated in an electronic apparatus. Referring to fig. 1, the travel mode determining method provided by the embodiment of the invention includes the following operations:
s110, acquiring navigation inquiry records and/or navigation events of the target residents in the historical trip activities.
In this embodiment, the target resident is a resident whose travel pattern is to be determined, for example, a resident mr. King, a woman of plums. The target resident is also a user of the navigation software, and accordingly, the navigation inquiry records and/or the navigation events of the target resident in the historical trip activities are obtained from the navigation software.
The historical travel activity refers to travel activity within a preset historical period, for example, travel activity within half a year of history, travel activity within one year of history, and the like. The navigation inquiry records comprise the starting place and destination place of the inquiry of the target resident and the trip mode of the trigger selection of the target resident. The navigation event refers to an event of real-time navigation provided by navigation software for a target resident, and comprises a starting place, a destination place and a travel mode.
S120, counting the times of selecting various travel modes by the target residents according to the navigation inquiry records and/or the navigation events.
Optionally, the number of times that the target resident selects various travel modes is counted according to the travel modes in the navigation inquiry records and/or the navigation events. For example, travel modes include driving (including driving), walking, riding, and public transportation modes including subways, buses, and the like.
If the travel modes included in the navigation inquiry records or the navigation events comprise more than two travel modes, the travel modes corresponding to the maximum route length can be counted, and all travel modes can be counted.
In one example, according to the navigation inquiry records and navigation events of the target resident mr in one year in the history, 20 times of public transportation travel modes are selected, 10 times of walking travel modes are selected, 5 times of riding travel modes are selected, and 50 times of driving travel modes are selected.
S130, determining a conventional travel mode of the target resident in conventional travel activities according to the magnitude relation of the times of selecting various travel modes by the target resident.
The regular travel activities may refer to daily travel activities or travel activities with highest frequency, such as office work, shopping mall, and the like. Preferably, the starting place of the regular travel activity includes an address of the target resident, and the destination place of the regular travel activity includes a work place of the target resident. The conventional travel mode in the conventional travel activities may refer to a travel mode with the highest frequency of use in the conventional travel activities.
In this embodiment, the starting point of the historical trip activity is any point, and the destination point is any point, which is not limited by the starting point and the destination point of the conventional trip activity.
In this embodiment, the conventional travel mode of the target resident in the conventional travel activity is determined according to the travel mode commonly used in the history period of the target resident. Alternatively, the number of times the target resident selects various travel patterns is compared, and the travel pattern with the largest number of times is determined as the conventional travel pattern.
Optionally, if the number of times of driving is greater than or equal to the number of times of selecting other travel modes, determining that the conventional travel mode of the target resident in the conventional travel activities is driving; other travel modes include at least one of walking, riding, and public transportation. Following the above example, if the number of times the target resident mr selects to drive and travel is greater than the number of times the travel is selected for public transportation, riding and walking, the commute mode of the target resident mr is determined to be driving.
According to the embodiment of the invention, the navigation inquiry records and/or the navigation events of the target residents in the historical travel activities are obtained, and the times of selecting various travel modes by the target residents are counted according to the navigation inquiry records and/or the navigation events, so that the preference or travel habit of the travel modes of the target residents is obtained according to the big data, and the navigation inquiry records and/or the navigation events are used as data basis, so that the accuracy and the effectiveness of the data are ensured; the conventional travel mode of the target resident in the conventional travel activities is determined according to the magnitude relation of the times of selecting various travel modes by the target resident, so that the conventional travel mode is directly determined according to the preference or travel habit of the travel mode of the target resident, and the conventional travel mode can be accurately and efficiently determined by the method based on big data statistics.
Example two
Fig. 2 is a flowchart of a travel mode determining method according to a second embodiment of the present invention. The present embodiment further optimizes, based on the optional implementation manners of the foregoing embodiments, optionally "determining the conventional travel mode of the target resident in the conventional travel activity according to the magnitude relation of the number of times the target resident selects various travel modes", and "optimizing to" if the number of times of selecting driving is smaller than the number of times of selecting any other travel mode, determining the conventional travel mode of the target resident in the conventional travel activity according to the magnitude relation of the effective route length of the manual travel mode and the reference route length of the conventional travel, thereby providing the effective route length according to the manual travel mode and the reference route length of the conventional travel, determining the scheme of the conventional travel mode, and increasing the determinable travel mode. In connection with fig. 2, the following operations are specifically included:
s210, acquiring a navigation inquiry record and/or a navigation event of the target resident in the historical trip activity.
S220, counting the times of selecting various travel modes by the target residents according to the navigation inquiry records and/or the navigation events.
S230, judging whether the number of times of driving is larger than or equal to the number of times of selecting other travel modes, if so, jumping to S240; if not, go to S250.
S240, determining a driving mode of the target resident in the conventional travel activities. Ending the operation.
S250, determining a conventional travel mode of the target resident in conventional travel activities according to the magnitude relation between the effective route length of the manual travel mode and the reference route length of the conventional travel.
The manual travel mode is a travel mode using manpower as driving force, and includes but is not limited to walking, riding, skateboarding and the like. Since the effort of the person is limited, if the route is too long, it is not feasible to rely on the manual travel mode, based on which the effective route length of the manual travel mode is determined. The effective route length may be the maximum route length that can be tolerated by the manual travel mode. The reference route length refers to a route length from a start point to a destination point of a regular travel activity in a manual travel mode.
If the effective route length of the manual travel mode is smaller than or equal to the reference route length, the conventional travel activity is within the human affordable range, and the manual travel mode is determined; in contrast, if the effective route length of the manual travel mode is greater than the reference route length, it is indicated that the conventional travel activity is out of the human affordable range, and a travel mode driven by no human power, such as an electric vehicle, a public transportation mode, an electric scooter, or the like, is selected.
In this embodiment, if the number of times of driving is smaller than the number of times of selecting any other travel mode, the conventional travel mode of the target resident in the conventional travel activity is determined according to the magnitude relation between the effective route length of the manual travel mode and the reference route length of the conventional travel, so that the conventional travel mode is determined accurately and efficiently directly according to the magnitude relation of the route length under the condition that the number of times of driving is smaller than the number of times of selecting any other travel mode.
Example III
Fig. 3 is a flowchart of a travel mode determining method according to a third embodiment of the present invention. The present embodiment is further optimized on the basis of the above embodiment, and optionally, the "obtaining the reference route length from the start point to the destination point of the regular travel activity in the manual travel mode" is additionally operated on the basis of the method provided in the above embodiment; according to the navigation inquiry records and/or the navigation events, determining the effective route length' of a target resident for selecting a manual trip mode; optionally, the operation of "if the number of times of driving is selected is smaller than the number of times of selecting any other travel mode", determining that the conventional travel mode of the target resident in the conventional travel activity is "optimized" according to the magnitude relation between the effective route length of the manual travel mode and the reference route length of the conventional travel, if the number of times of driving is selected is smaller than the number of times of selecting any other travel mode, and the effective route length is greater than or equal to the reference route length, determining that the conventional travel mode of the target resident in the conventional travel activity is the manual travel mode. With reference to fig. 3, the method provided in this embodiment includes the following operations:
s310, acquiring a navigation inquiry record and/or a navigation event of the target resident in the historical trip activity.
S320, counting the times of selecting various travel modes by the target residents according to the navigation inquiry records and/or the navigation events.
S330, acquiring the reference route length from the starting point to the destination point of the conventional travel activity in the manual travel mode.
In this embodiment, the manual travel mode includes riding and walking. Optionally, the reference route length in the manual trip mode can be obtained through an electronic map in the navigation software. It should be noted that the riding and walking routes are not necessarily identical, and the corresponding reference route lengths are not necessarily identical.
S340, determining the effective route length of the target resident for selecting the manual travel mode according to the navigation inquiry records and/or the navigation event.
In this embodiment, the manual travel mode includes riding or walking.
Optionally, the present operation includes two alternative embodiments:
first alternative embodiment: according to the navigation inquiry records and/or the navigation events, obtaining a plurality of route lengths of a target resident for selecting a manual trip mode; among the plurality of route lengths, a maximum route length that is equal to or less than a length threshold is determined as an effective route length.
The length threshold may be determined based on a maximum route length that can be tolerated by human power, for example, a maximum route length that can be tolerated by riding of 10 kilometers and a maximum route length that can be tolerated by walking of 5 kilometers.
Second alternative embodiment: according to the navigation inquiry records and/or the navigation events, obtaining a plurality of route lengths of a target resident selecting a manual trip mode and a starting place and a destination place corresponding to each route length; filtering out the route lengths of the starting point and the destination point in different areas in a plurality of route lengths; among the remaining route lengths, the maximum route length is determined as the effective route length.
The starting point and the destination point corresponding to each route length are not necessarily the starting point and the destination point in the conventional travel activities.
If the starting point and the destination point of each route length are not in the same area, such as the same urban area, the same province and even the same country, the manual travel is selected to be difficult to bear, and the route lengths of the starting point and the destination point in different areas are filtered; among the remaining route lengths, the maximum route length is determined as the effective route length.
S350, judging whether the number of times of driving is larger than or equal to the number of times of selecting other travel modes, if so, jumping to S351; if not, go to S352.
S351, determining that a conventional travel mode of the target resident in conventional travel activities is driving.
S352, judging whether the effective route length is larger than or equal to the reference route length, if so, jumping to S360, and if not, jumping to S361.
S360, determining a conventional travel mode of the target resident in the conventional travel activity as a manual travel mode.
S361, determining that a conventional travel mode of the target resident in the conventional travel activity is a public transportation mode.
Optionally, firstly, judging the relation between the number of times the target resident selects walking and the number of times of riding, if the number of times of selecting walking is larger than the number of times of selecting riding, further judging whether the effective route length is larger than or equal to the reference route length in the walking mode, if so, determining that the conventional traveling mode is walking, and if not, determining that the conventional traveling mode is public transportation mode.
If the number of times of walking is less than the number of times of riding, further judging whether the effective route length is greater than or equal to the reference route length in the riding mode, if so, determining that the conventional traveling mode is riding, and if not, determining that the conventional traveling mode is public transportation mode.
If the number of steps is the same as the number of steps, the magnitude relation between the effective route length and the reference route length in the step mode or the magnitude relation between the effective route length and the reference route length in the step mode can be further judged.
It should be noted that the execution sequence between S330 and S340 is not limited, and may be executed sequentially or in parallel. S330 and S340 may be executed after S310 and before S352, and are not limited to the execution sequence provided in the present embodiment.
In the embodiment, if the number of times of driving is smaller than the number of times of selecting any other travel mode, and the effective route length is greater than or equal to the reference route length, the conventional travel mode of the target resident in the conventional travel activity is determined to be the manual travel mode, so that the manual travel mode is determined efficiently and accurately based on the route length which can be born by manpower; further, the maximum route length is determined to be the effective route length by determining the maximum route length smaller than or equal to the length threshold value and filtering the route lengths of the starting point and the destination point in different areas, and the maximum route length is determined to be the effective route length in the rest route lengths, so that the accuracy and the effectiveness of the effective route length are ensured; and if the number of times of driving is less than the number of times of selecting any other travel mode, and the effective route length is less than the reference route length, the conventional travel mode is a public transportation mode through the elimination method.
Example IV
Fig. 4 is a flowchart of a travel mode determining method according to a fourth embodiment of the present invention. This embodiment is further optimized on the basis of the alternative implementations of the above embodiments. Optionally, after the operation of "determining the regular travel pattern of the target resident in the regular travel activity according to the magnitude relation of the number of times the target resident selects various travel patterns", the "determining the travel duration of the target resident in the regular travel activity according to the regular travel pattern of the target resident in the regular travel activity, and the start point and destination point of the regular travel activity" is added, thereby obtaining the regular travel duration based on the regular travel pattern. With reference to fig. 4, the method provided in this embodiment includes the following operations:
s410, acquiring navigation inquiry records and/or navigation events of the target residents in the historical trip activities.
S420, counting the times of selecting various travel modes by the target residents according to the navigation inquiry records and/or the navigation events.
S430, determining a conventional travel mode of the target resident in the conventional travel activities according to the magnitude relation of the times of selecting various travel modes by the target resident.
S440, determining the travel duration of the target resident in the conventional travel activity according to the conventional travel mode of the target resident in the conventional travel activity and the starting place and the destination place of the conventional travel activity.
Optionally, first, determining a travel route according to a starting place and a destination place of a conventional travel activity and a conventional travel mode; then calculating the length of the route according to the travel route; and then, determining the travel duration according to the route length and the conventional travel mode. For example, dividing the route length by the speed of the conventional travel mode to obtain a preliminary time length, and subtracting the waiting time length of the traffic indicator lamp on the basis of the preliminary time length to obtain a final travel time length.
In the embodiment, on the basis of obtaining the conventional travel mode, the travel duration in the conventional travel activity is obtained more accurately, and a data basis is provided for urban planning and urban calculation.
Example five
Fig. 5 is a schematic structural diagram of a travel mode determining device provided in a fifth embodiment of the present invention, where the embodiment of the present invention is applicable to determining a conventional travel mode of a target resident in a conventional travel activity, and in combination with fig. 5, the travel mode determining device includes: an acquisition module 51, a statistics module 52 and a determination module 53.
The obtaining module 51 is configured to obtain a navigation query record and/or a navigation event of the target resident in the historical trip activity;
the statistics module 52 is configured to count the number of times that the target resident selects various travel modes according to the navigation query record and/or the navigation event acquired by the acquisition module 51;
the determining module 53 is configured to determine a regular travel mode of the target resident in the regular travel activity according to the magnitude relation of the number of times the target resident selects the various travel modes counted by the counting module 52.
According to the embodiment of the invention, the navigation inquiry records and/or the navigation events of the target residents in the historical travel activities are obtained, and the times of selecting various travel modes by the target residents are counted according to the navigation inquiry records and/or the navigation events, so that the preference or travel habit of the travel modes of the target residents is obtained according to the big data, and the navigation inquiry records and/or the navigation events are used as data basis, so that the accuracy and the effectiveness of the data are ensured; the conventional travel mode of the target resident in the conventional travel activities is determined according to the magnitude relation of the times of selecting various travel modes by the target resident, so that the conventional travel mode is directly determined according to the preference or travel habit of the travel mode of the target resident, and the conventional travel mode can be accurately and efficiently determined by the method based on big data statistics.
Alternatively, the determining module 53 is specifically configured to, when determining a regular travel pattern of the target resident in the regular travel activity according to the magnitude relation of the number of times the target resident selects various travel patterns: if the number of times of driving is greater than or equal to the number of times of selecting other travel modes, determining that the conventional travel mode of the target resident in the conventional travel activities is driving; other travel modes include at least one of walking, riding, and public transportation.
Alternatively, the determining module 53 is specifically configured to, when determining a regular travel pattern of the target resident in the regular travel activity according to the magnitude relation of the number of times the target resident selects various travel patterns: if the number of times of driving is smaller than the number of times of selecting any other travel mode, determining the conventional travel mode of the target resident in the conventional travel activity according to the magnitude relation between the effective route length of the manual travel mode and the reference route length of the conventional travel.
Optionally, the apparatus further comprises: a reference route length acquisition module and an effective route length determination module.
The reference route length acquisition module is used for acquiring the reference route length from the starting point to the destination point of the conventional travel activity in a manual travel mode; and the effective route length acquisition module is used for determining the effective route length of a target resident for selecting a manual trip mode according to the navigation inquiry record and/or the navigation event. Accordingly, when the number of times of driving is selected to be smaller than the number of times of selecting any other travel mode, the determining module 53 determines the conventional travel mode of the target resident in the conventional travel activity according to the magnitude relation between the effective route length of the manual travel mode and the reference route length of the conventional travel, the determining module is specifically configured to: if the number of times of driving is smaller than the number of times of selecting any other travel mode, and the effective route length is larger than or equal to the reference route length, determining that the conventional travel mode of the target resident in the conventional travel activity is a manual travel mode.
Optionally, the effective route length determining module is specifically configured to, when determining, according to the navigation inquiry record and/or the navigation event, an effective route length of the target resident in selecting the manual trip mode: according to the navigation inquiry records and/or the navigation events, obtaining a plurality of route lengths of a target resident for selecting a manual trip mode; among the plurality of route lengths, a maximum route length that is equal to or less than a length threshold is determined as an effective route length.
Optionally, the effective route length determining module is specifically configured to, when determining, according to the navigation inquiry record and/or the navigation event, an effective route length of the target resident in selecting the manual trip mode: according to the navigation inquiry records and/or the navigation events, obtaining a plurality of route lengths of a target resident selecting a manual trip mode and a starting place and a destination place corresponding to each route length; filtering out the route lengths of the starting point and the destination point in different areas in a plurality of route lengths; among the remaining route lengths, the maximum route length is determined as the effective route length.
Optionally, the manual travel mode includes riding or walking.
Optionally, the determining module 53 is specifically configured to, when determining the normal travel mode of the target resident in the normal travel activity according to the magnitude relation between the effective route length of the manual travel mode and the reference route length of the normal travel if the number of times of driving is selected is smaller than the number of times of selecting any other travel mode: if the number of times of driving is selected is smaller than the number of times of selecting any other travel mode, and the effective route length is smaller than the reference route length, determining that the conventional travel mode of the target resident in the conventional travel activity is a public transportation mode.
Optionally, the device further comprises a travel duration determining module, configured to determine, after the conventional travel mode of the target resident in the conventional travel activity according to the magnitude relation of the number of times the target resident selects various travel modes: and determining the travel duration of the target resident in the conventional travel activity according to the conventional travel mode of the target resident in the conventional travel activity and the starting place and the destination place of the conventional travel activity.
Optionally, the starting location of the regular travel activity includes an address of the target resident, and the destination location of the regular travel activity includes a work location of the target resident.
The travel mode determining device provided by the embodiment of the invention can execute the travel mode determining method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the executing method.
Example six
Fig. 6 is a schematic structural diagram of an electronic device according to a sixth embodiment of the present invention. Fig. 6 illustrates a block diagram of an exemplary electronic device 12 suitable for use in implementing embodiments of the present invention. The electronic device 12 shown in fig. 6 is merely an example and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in fig. 6, the electronic device 12 is in the form of a general purpose computing device. Components of the electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, a bus 18 that connects the various system components, including the system memory 28 and the processing units 16.
Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, and a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, micro channel architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Electronic device 12 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by electronic device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 30 and/or cache memory 32. The electronic device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from or write to non-removable, nonvolatile magnetic media (not shown in FIG. 6, commonly referred to as a "hard disk drive"). Although not shown in fig. 6, a magnetic disk drive for reading from and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In such cases, each drive may be coupled to bus 18 through one or more data medium interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored in, for example, memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Program modules 42 generally perform the functions and/or methods of the embodiments described herein.
The electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), one or more devices that enable a user to interact with the electronic device 12, and/or any devices (e.g., network card, modem, etc.) that enable the electronic device 12 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 22. Also, the electronic device 12 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet, through a network adapter 20. As shown, the network adapter 20 communicates with other modules of the electronic device over the bus 18. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with electronic device 12, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, for example, implementing the travel pattern determination method provided by the embodiment of the present invention.
Example seven
The seventh embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor implements the travel mode determining method provided by the embodiment of the invention.
The computer storage media of embodiments of the invention may take the form of 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. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any 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 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.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. 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 computer readable medium may be transmitted using 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 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 ++ 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 server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. 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, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.
Claims (12)
1. The travel mode determining method is characterized by comprising the following steps of:
acquiring a navigation inquiry record and/or a navigation event of a target resident in a history trip activity;
counting the times of selecting various travel modes by a target resident according to the navigation inquiry records and/or the navigation events;
determining a conventional travel mode of the target resident in conventional travel activities according to the magnitude relation of the times of selecting various travel modes by the target resident;
the determining the conventional travel mode of the target resident in the conventional travel activity according to the magnitude relation of the times of selecting various travel modes by the target resident comprises the following steps:
if the number of times of driving is smaller than the number of times of selecting any other travel mode, determining a conventional travel mode of the target resident in conventional travel activities according to the magnitude relation between the effective route length of the manual travel mode and the reference route length of conventional travel; the regular travel activities refer to daily travel activities or travel activities with highest frequency.
2. The method according to claim 1, wherein the determining the regular travel patterns of the target resident in the regular travel activities according to the magnitude relation of the number of times the target resident selects the various travel patterns, comprises:
if the number of times of driving is greater than or equal to the number of times of selecting other travel modes, determining that the conventional travel mode of the target resident in the conventional travel activities is driving;
the other travel modes at least comprise one of walking, riding and public transportation modes.
3. The method according to claim 1, wherein the method further comprises:
acquiring a reference route length from a starting place to a destination place of a conventional travel activity in a manual travel mode;
according to the navigation inquiry records and/or the navigation events, determining the effective route length of the target resident for selecting a manual trip mode;
if the number of times of driving is smaller than the number of times of selecting any other travel mode, determining the conventional travel mode of the target resident in the conventional travel activity according to the magnitude relation between the effective route length of the manual travel mode and the reference route length of the conventional travel, including:
and if the number of times of driving is less than the number of times of selecting any other travel mode, and the effective route length is greater than or equal to the reference route length, determining that the conventional travel mode of the target resident in the conventional travel activity is a manual travel mode.
4. A method according to claim 3, wherein said determining an effective route length for the target resident to select a human travel mode based on the navigation inquiry records and/or navigation events comprises:
acquiring a plurality of route lengths of the target resident for selecting a manual trip mode according to the navigation inquiry records and/or the navigation events;
and determining the maximum route length smaller than or equal to a length threshold value as the effective route length in the plurality of route lengths.
5. A method according to claim 3, wherein said determining an effective route length for the target resident to select a human travel mode based on the navigation inquiry records and/or navigation events comprises:
acquiring a plurality of route lengths of the target resident selecting a manual trip mode and a starting place and a destination place corresponding to each route length according to the navigation inquiry records and/or the navigation events;
filtering out the route lengths of the starting point and the destination point in different areas in a plurality of route lengths;
and determining the maximum route length as the effective route length in the rest route lengths.
6. The method of claim 1, wherein the step of determining the position of the substrate comprises,
the manual travel mode comprises riding or walking.
7. The method according to claim 1, wherein if the number of times of driving is selected to be smaller than the number of times of selecting any other travel pattern, determining the normal travel pattern of the target resident in the normal travel activity based on the magnitude relation between the effective route length of the manual travel pattern and the reference route length of the normal travel, comprises:
and if the number of times of driving is selected to be smaller than the number of times of selecting any other travel mode, and the effective route length is smaller than the reference route length, determining that the conventional travel mode of the target resident in the conventional travel activity is a public transportation mode.
8. The method according to claim 1, further comprising, after determining a regular travel pattern of the target resident in a regular travel activity according to the magnitude relation of the number of times the target resident selects various travel patterns:
and determining the travel duration of the target resident in the conventional travel activity according to the conventional travel mode of the target resident in the conventional travel activity and the starting place and the destination place of the conventional travel activity.
9. The method according to any one of claims 1 to 8, wherein,
the starting location of the regular travel activity includes an address of the target resident, and the destination location of the regular travel activity includes a work location of the target resident.
10. A travel mode determining apparatus, comprising:
the acquisition module is used for acquiring navigation inquiry records and/or navigation events of the target residents in the historical travel activities;
the statistics module is used for counting the times of selecting various travel modes by the target residents according to the navigation inquiry records and/or the navigation events;
the determining module is used for determining the conventional travel modes of the target residents in conventional travel activities according to the magnitude relation of the times of selecting various travel modes by the target residents;
the determining module is specifically configured to, when determining a conventional travel mode of the target resident in a conventional travel activity according to a magnitude relation of times of selecting various travel modes by the target resident:
if the number of times of driving is smaller than the number of times of selecting any other travel mode, determining the conventional travel mode of the target resident in the conventional travel activity according to the magnitude relation between the effective route length of the manual travel mode and the reference route length of the conventional travel;
the regular travel activities refer to daily travel activities or travel activities with highest frequency.
11. An electronic device, the electronic device comprising:
one or more processors;
a memory for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the travel pattern determination method of any one of claims 1-9.
12. A computer readable storage medium having stored thereon a computer program, which when executed by a processor implements a travel mode determination method according to any one of claims 1-9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811280947.7A CN111125179B (en) | 2018-10-30 | 2018-10-30 | Travel mode determining method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811280947.7A CN111125179B (en) | 2018-10-30 | 2018-10-30 | Travel mode determining method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111125179A CN111125179A (en) | 2020-05-08 |
CN111125179B true CN111125179B (en) | 2023-10-20 |
Family
ID=70484774
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811280947.7A Active CN111125179B (en) | 2018-10-30 | 2018-10-30 | Travel mode determining method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111125179B (en) |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014191456A (en) * | 2013-03-26 | 2014-10-06 | Aisin Aw Co Ltd | Travel support system, travel support method, and computer program |
CN104504066A (en) * | 2014-12-19 | 2015-04-08 | 百度在线网络技术(北京)有限公司 | Trip mode judging method and device |
CN105303854A (en) * | 2015-09-11 | 2016-02-03 | 百度在线网络技术(北京)有限公司 | Travel route data processing method and device |
CN105843810A (en) * | 2015-01-13 | 2016-08-10 | 电信科学技术研究院 | Method and device for planning travel route |
CN105973249A (en) * | 2016-04-21 | 2016-09-28 | 深圳天珑无线科技有限公司 | Intelligent trip method and system |
CN106097066A (en) * | 2016-06-12 | 2016-11-09 | 深圳市智汇十方科技有限公司 | A kind of user's traveling method and device |
CN106156084A (en) * | 2015-03-31 | 2016-11-23 | 阿里巴巴集团控股有限公司 | Route inquiry methods, devices and systems |
CN106776900A (en) * | 2016-11-30 | 2017-05-31 | 百度在线网络技术(北京)有限公司 | Traveling method and device |
CN107356261A (en) * | 2017-06-14 | 2017-11-17 | 广东欧珀移动通信有限公司 | Air navigation aid and Related product |
CN107478237A (en) * | 2017-06-29 | 2017-12-15 | 百度在线网络技术(北京)有限公司 | Real scene navigation method, device, equipment and computer-readable recording medium |
CN107527188A (en) * | 2017-08-29 | 2017-12-29 | 深圳天珑无线科技有限公司 | Processing method and processing device, terminal and the computer-readable medium of stroke reminding time |
CN107679652A (en) * | 2017-09-20 | 2018-02-09 | 北京摩拜科技有限公司 | Multiply planing method, client, server and the system of route altogether |
CN107941234A (en) * | 2017-12-21 | 2018-04-20 | 广东欧珀移动通信有限公司 | Recommendation method, apparatus, storage medium and the mobile terminal of traffic path |
CN108064025A (en) * | 2017-11-23 | 2018-05-22 | 努比亚技术有限公司 | A kind of route planning method, mobile terminal and computer readable storage medium |
CN108154253A (en) * | 2016-12-06 | 2018-06-12 | 北京嘀嘀无限科技发展有限公司 | Trip mode recommends method and device |
-
2018
- 2018-10-30 CN CN201811280947.7A patent/CN111125179B/en active Active
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014191456A (en) * | 2013-03-26 | 2014-10-06 | Aisin Aw Co Ltd | Travel support system, travel support method, and computer program |
CN104504066A (en) * | 2014-12-19 | 2015-04-08 | 百度在线网络技术(北京)有限公司 | Trip mode judging method and device |
CN105843810A (en) * | 2015-01-13 | 2016-08-10 | 电信科学技术研究院 | Method and device for planning travel route |
CN106156084A (en) * | 2015-03-31 | 2016-11-23 | 阿里巴巴集团控股有限公司 | Route inquiry methods, devices and systems |
CN105303854A (en) * | 2015-09-11 | 2016-02-03 | 百度在线网络技术(北京)有限公司 | Travel route data processing method and device |
CN105973249A (en) * | 2016-04-21 | 2016-09-28 | 深圳天珑无线科技有限公司 | Intelligent trip method and system |
CN106097066A (en) * | 2016-06-12 | 2016-11-09 | 深圳市智汇十方科技有限公司 | A kind of user's traveling method and device |
CN106776900A (en) * | 2016-11-30 | 2017-05-31 | 百度在线网络技术(北京)有限公司 | Traveling method and device |
CN108154253A (en) * | 2016-12-06 | 2018-06-12 | 北京嘀嘀无限科技发展有限公司 | Trip mode recommends method and device |
CN107356261A (en) * | 2017-06-14 | 2017-11-17 | 广东欧珀移动通信有限公司 | Air navigation aid and Related product |
CN107478237A (en) * | 2017-06-29 | 2017-12-15 | 百度在线网络技术(北京)有限公司 | Real scene navigation method, device, equipment and computer-readable recording medium |
CN107527188A (en) * | 2017-08-29 | 2017-12-29 | 深圳天珑无线科技有限公司 | Processing method and processing device, terminal and the computer-readable medium of stroke reminding time |
CN107679652A (en) * | 2017-09-20 | 2018-02-09 | 北京摩拜科技有限公司 | Multiply planing method, client, server and the system of route altogether |
CN108064025A (en) * | 2017-11-23 | 2018-05-22 | 努比亚技术有限公司 | A kind of route planning method, mobile terminal and computer readable storage medium |
CN107941234A (en) * | 2017-12-21 | 2018-04-20 | 广东欧珀移动通信有限公司 | Recommendation method, apparatus, storage medium and the mobile terminal of traffic path |
Non-Patent Citations (4)
Title |
---|
Comparison of Travel Mode Choice Between Taxi and Subway Regarding Traveling Convenience;Li Li;Shuofeng Wang;Meng Li;Jiyuan Tan;;Tsinghua Science and Technology(第02期);全文 * |
基于百度API开源数据的居民出行研究;王振;张志敏;王伟;高歌;沈俊峻;;交通运输研究(第03期);全文 * |
社会互动效应下通勤者出行方式选择行为研究;潘驰;郭志达;;交通运输系统工程与信息(第06期);全文 * |
组合出行方式下的混合均衡分配模型及求解算法;黄海军;李志纯;;系统科学与数学(第03期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN111125179A (en) | 2020-05-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107945562B (en) | Parking lot information recommendation method, server device and readable medium | |
CN107909180B (en) | Processing method, equipment and readable medium for public transport travel | |
CN107403550B (en) | Public transport road network data acquisition method and device and terminal equipment | |
CN108180922B (en) | Navigation time evaluation method, device, equipment and medium | |
CN110553658B (en) | Navigation path recommendation method, navigation server, computer device and readable medium | |
CN110782656B (en) | Road bottleneck point identification method and device, electronic equipment and storage medium | |
CN114078327A (en) | Road congestion state detection method, device, equipment and storage medium | |
CN111323035A (en) | Detection method and detection device for driving yaw and readable storage medium | |
CN110555432B (en) | Method, device, equipment and medium for processing interest points | |
US11200798B2 (en) | Grouping of moving objects | |
CN113804204A (en) | Driving method and device applied to vehicle, electronic equipment and storage medium | |
CN113008253A (en) | Hybrid vehicle running method, device and storage medium | |
US20150185020A1 (en) | Compatibility based resource matching | |
RU2664034C1 (en) | Traffic information creation method and system, which will be used in the implemented on the electronic device cartographic application | |
CN110542425B (en) | Navigation path selection method, navigation device, computer equipment and readable medium | |
CN111125179B (en) | Travel mode determining method, device, equipment and storage medium | |
CN109572687B (en) | Parking control method and device, electronic equipment and storage medium | |
CN109270566B (en) | Navigation method, navigation effect testing method, device, equipment and medium | |
CN108827329B (en) | City navigation method, system, equipment and storage medium | |
CN110440788B (en) | Navigation prompting method crossing single-line road, server and computer readable medium | |
CN107270919B (en) | Bus route grading method and device and bus route navigation method and device | |
CN112991798B (en) | Road segment running time determining method and device based on traffic speed data | |
CN113808388A (en) | Traffic jam analysis method comprehensively considering operation of cars and public traffic | |
CN110542426B (en) | Method, device and readable medium for identifying small path | |
CN113624245A (en) | Navigation method and device, computer storage medium and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |