CN109726842A - Determining method of path and its device by bus - Google Patents
Determining method of path and its device by bus Download PDFInfo
- Publication number
- CN109726842A CN109726842A CN201711034737.5A CN201711034737A CN109726842A CN 109726842 A CN109726842 A CN 109726842A CN 201711034737 A CN201711034737 A CN 201711034737A CN 109726842 A CN109726842 A CN 109726842A
- Authority
- CN
- China
- Prior art keywords
- time
- path
- riding
- passenger
- road
- 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
Links
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Traffic Control Systems (AREA)
Abstract
The present invention proposes a kind of determining method of path and its device of riding, wherein method includes: the trip data for obtaining passenger, wherein trip data includes the starting station, point of destination, enters the station time and outbound time;According to the operation data of the road network acquired in real time, the road condition of road network during simulation trip;According to time and the outbound time of entering the station, passenger's actual first riding time is obtained;According to the starting station and the point of destination, candidate path of riding is planned for passenger;Obtain the second riding time needed for trip is completed in each candidate path of riding under road condition;According to the first riding time and each second riding time, ride to determine in path that the target of passenger is ridden path from all candidates.In this way, it can be concluded that path of most preferably riding, provides reliable foundation for sorting clearance, the technical issues of existing transfer calculation method objective cannot comprehensively reflect passenger selected transfer path is solved.
Description
Technical field
The present invention relates to technical field of rail traffic, more particularly to a kind of determining method of path and its device of riding.
Background technique
It is mainly used in the AFC system (Automatic Fare Collection, AFC) of current orbit traffic
The calculation method of " shortest path " calculates the route of passenger's transfer by " most short " transfer path and " most short " transfer time
Path carries out sorting clearance further according to income of sorting ratio of each route in road network to passenger's booking expense.
However, riding between starting station to point of destination there may be a variety of as rail traffic road network becomes increasingly complex
Path selection, so that the path by bus to each ticket is needed to carry out identification processing in sorting.And only rely on " most short transfer
The transfer calculation method in path " and " most short transfer time " objective cannot comprehensively reflect the selected transfer path of passenger, from
And can not accurately reflect the volume of the flow of passengers in route, influence calculating and statistics to route passenger flow data.
Summary of the invention
The present invention is directed to solve at least some of the technical problems in related technologies.
For this purpose, the first purpose of this invention is to propose a kind of determining method of path of riding, to obtain road of most preferably riding
Diameter, solve in the prior art by " most short transfer path " and " most short transfer time " carry out transfer calculating cannot it is objective comprehensively
The technical issues of reflecting passenger selected transfer path.
Second object of the present invention is to propose a kind of path determining device of riding.
Third object of the present invention is to propose a kind of computer equipment.
Fourth object of the present invention is to propose a kind of non-transitorycomputer readable storage medium.
In order to achieve the above object, first aspect present invention embodiment proposes a kind of determining method of path of riding, comprising:
Obtain the trip data of passenger, wherein the trip data includes the starting station, point of destination, the time and outbound of entering the station
Time;
According to the operation data of the road network acquired in real time, the road condition of the road network during simulation trip;
It is entered the station time and the outbound time according to described, obtains the passenger actual first riding time;
According to the starting station and the point of destination, candidate path of riding is planned for the passenger;
Obtain the second riding time needed for trip is completed in each candidate path of riding under the road condition;
According to first riding time and each second riding time, ride to determine in path from all candidates described in
The target of passenger is ridden path.
The determining method of path by bus of the embodiment of the present invention, by obtaining the trip data of passenger, trip data includes beginning
Hair station, point of destination are entered the station time and outbound time, according to the operation data of the road network acquired in real time, road during simulation trip
The road condition of net, according to time and outbound time acquisition passenger's actual first riding time of entering the station, according to the starting station and mesh
Station be that passenger plans candidate path of riding, obtain each candidate path of riding and complete required second of trip under road condition
Riding time rides to determine passenger's in path from all candidates according to the first riding time and each second riding time
Target is ridden path.Thereby, it is possible to select path of most preferably riding." most short transfer path " is only relied in compared to the prior art
The calculation of " most short transfer time ", the determining method of path by bus of the present embodiment consider trip data and the road of passenger
The operation data of net improves the accuracy in the path by bus of simulation passenger, keeps determining path by bus more objective, so as to
Enough solve the prior art cannot objective comprehensively reflection passenger selected transfer path the technical issues of.
In order to achieve the above object, second aspect of the present invention embodiment proposes a kind of path determining device of riding, comprising:
First obtains module, for obtaining the trip data of passenger, wherein described data occur include the starting station, purpose
It stands, enter the station time and outbound time;
Road conditions module is simulated, for the operation data according to the road network acquired in real time, the road network during simulation trip
Road condition;
Second obtains module, for time and the outbound time of entering the station according to, obtains the passenger actual the
One riding time;
Path planning module, for planning candidate road of riding for the passenger according to the starting station and the point of destination
Diameter;
Third obtains module, completes required the of trip under the road condition for obtaining each candidate path of riding
Two riding time;
Determining module, for being ridden from all candidates according to first riding time and each second riding time
Determine that the target of the passenger is ridden path in path.
The path determining device by bus of the embodiment of the present invention, by obtaining the trip data of passenger, trip data includes beginning
Hair station, point of destination are entered the station time and outbound time, according to the operation data of the road network acquired in real time, road during simulation trip
The road condition of net, according to time and outbound time acquisition passenger's actual first riding time of entering the station, according to the starting station and mesh
Station be that passenger plans candidate path of riding, obtain each candidate path of riding and complete required second of trip under road condition
Riding time rides to determine passenger's in path from all candidates according to the first riding time and each second riding time
Target is ridden path.Thereby, it is possible to select path of most preferably riding." most short transfer path " is only relied in compared to the prior art
The calculation of " most short transfer time ", the determining method of path by bus of the present embodiment consider trip data and the road of passenger
The operation data of net improves the accuracy in the path by bus of simulation passenger, keeps determining path by bus more objective, so as to
Enough solve the prior art cannot objective comprehensively reflection passenger selected transfer path the technical issues of.
In order to achieve the above object, third aspect present invention embodiment proposes a kind of computer equipment, including processor and deposit
Reservoir;Wherein, the processor is held to run with described by reading the executable program code stored in the memory
The corresponding program of line program code, for realizing the determining method of path by bus as described in first aspect embodiment.
In order to achieve the above object, fourth aspect present invention embodiment proposes a kind of non-transitory computer-readable storage medium
Matter is stored thereon with computer program, and as in the foregoing embodiment ride is realized when which is executed by processor
Determining method of path.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partially become from the following description
Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments
Obviously and it is readily appreciated that, in which:
Fig. 1 is a kind of flow diagram of determining method of path by bus provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of another determining method of path of riding provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of another determining method of path of riding provided in an embodiment of the present invention;
Fig. 4 is the flow diagram of another determining method of path of riding provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of path determining device by bus provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of another path determining device of riding provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of another path determining device of riding provided in an embodiment of the present invention;
Fig. 8 is a kind of structural schematic diagram of computer equipment provided in an embodiment of the present invention.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, it is intended to is used to explain the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings determining method of path and its device by bus of the embodiment of the present invention are described.
As rail traffic road network becomes increasingly complex, the starting station/point of destination (Origin/Destination, O/ of ticket
D more and more for the path by bus of passenger's selection between), therefore, when carrying out sorting clearance, for multiplying for each ticket
Bus or train route diameter requires to carry out identification processing, and especially for the path by bus more than transfer passenger flow amount, not only identification treating capacity is more, and
It is big to identify processing difficulty.
Due to passenger by bus behavior, passenger select transfer route behavior, passenger take period, ride-on vehicles relax
The factors such as appropriate and each route passenger flow degree of crowding can all influence selection and decision of the passenger to transfer path.However, existing
Have in technology, only rely on the transfer calculation method of " most short transfer path " and " most short transfer time ", it is clear that cannot be objective comprehensive
The selected transfer path of reaction passenger cause to also cannot accurately react the volume of the flow of passengers of route to route passenger flow
The calculating of data and statistics are affected, also influence urban track traffic operator distribution of income and operation management it is positive
Property.
In view of the above-mentioned problems, the embodiment of the present invention proposes a kind of transfer determining method of path, it being capable of going out in conjunction with passenger
Row data and the operation data of road network determine optimal path by bus, improve the objectivity for determining path by bus, are AFC system
It carries out sorting clearance and reliable calculation basis is provided.
Fig. 1 is a kind of flow diagram of determining method of path by bus provided in an embodiment of the present invention.
As shown in Figure 1, should by bus determining method of path the following steps are included:
Step 101, obtain the trip data of passenger, wherein trip data include the starting station, point of destination, enter the station the time and
The outbound time.
When passenger needs to take utility car, such as the track vehicles such as light rail, subway, need to first pass through AFC system
Unified purchase ticket, thus, the ticket purchased according to passenger can determine the starting station and point of destination of passenger's trip.
When passenger enters the starting station, need to have one's ticket punched using the ticket held;Go out after passenger reaches point of destination
When standing, needs to put into the ticket held ticket-checking system or checked using the ticket held outbound.To, in the present embodiment,
Passenger can be recorded by ticket-checking system and has one's ticket punched and check the outbound time, and then passenger is obtained based on ticket-checking system and is entered the station
Time and outbound time.
Step 102, according to the operation data of the road network acquired in real time, the road condition of road network during simulation trip.
Wherein, distance, transfer stop between operation data includes but is not limited to the positional relationship of route and station, stands are set
When fixed, transfer walking time, the service time of corresponding line train, train arrival time, the speed of service of train, transfer wait
Between, number of transfer, current volume of the flow of passengers size, congestion quotiety, train level of comfort etc..
For the safe operation for guaranteeing train, each train in the process of running, can be in real time to train tune in track circuit
Degree center reports the operation data of itself, so that control centre can monitor the operation conditions of train in real time, thus, the present embodiment
In, it can be based on the operation data for the real time data acquisition road network that train in track circuit reports, in turn, according to the operation of acquisition
Data can simulate the road condition of road network during trip.Road condition such as can be congestion, unobstructed etc..
As an example, the road condition of road network during going on a journey can be simulated by way of model training.Specifically
Ground can first collect the operation data of the different time sections road network in preset duration, using a large amount of operation data as training sample
This progress model training obtains road condition training pattern.In turn, the operation data of the road network acquired in real time is input to training
In good road condition training pattern, the road condition of road network during trip can be simulated.
Step 103, according to time and the outbound time of entering the station, passenger's actual first riding time is obtained.
In the present embodiment, after the trip data for obtaining passenger, can therefrom extract passenger enter the station the time and go out
It stands the time, and then according to time and outbound time acquisition passenger's actual first riding time of entering the station.It can be appreciated that passenger is practical
The first riding time be equal to the outbound time subtract the time of entering the station.
Step 104, according to the starting station and point of destination, candidate path of riding is planned for passenger.
For the starting station and point of destination having determined, reaching point of destination from the starting station, there may be a plurality of different roads
Diameter in the present embodiment, goes out according to the starting station and point of destination information for including in the trip data of passenger, available at least one
Walking along the street diameter, and at least one path that will acquire is as candidate path of riding.
Step 105, the second riding time needed for trip is completed in each candidate path of riding under road condition is obtained.
As a kind of possible implementation, for each candidate path of riding, can ride to extract in path from candidate
Each section that candidate path of riding includes out, and extract from the road condition of the road network simulated the road conditions in each section
State.And then it is directed to each section, obtain running time of the section under road condition.Further, what be will acquire is each
The running time in section and passenger are added in the transfer waiting time that the candidate rides in path, using acquired results as this
The second required riding time of trip is completed in path to candidate under road condition by bus.
Step 106, it according to the first riding time and each second riding time, rides to determine in path from all candidates
The target of passenger is ridden path.
In the present embodiment, obtain the first riding time and it is each it is candidate ride path corresponding second riding time it
Afterwards, it can ride to determine that the target of passenger multiplies in path from all candidates according to the first riding time and the second riding time
Bus or train route diameter.
As an example, the first riding time that can be will acquire is compared with each second riding time, will be with
The target that first riding time immediate second riding time corresponding candidate path of riding is determined as passenger is ridden path.
The present embodiment by bus determining method of path, by obtain passenger trip data, trip data include the starting station,
Point of destination is entered the station time and outbound time, according to the operation data of the road network acquired in real time, the road of road network during simulation trip
Condition state, according to entering the station, time and outbound time obtain passenger's actual first riding time, are according to the starting station and point of destination
Passenger plans candidate path of riding, when obtaining each candidate path of riding and completing needed for trip second under road condition and ride
Between, according to the first riding time and each second riding time, ride to determine that the target of passenger multiplies in path from all candidates
Bus or train route diameter.Thereby, it is possible to select path of most preferably riding.It is only relied in compared to the prior art in " most short transfer path " and " most
The calculation of short transfer time ", the determining method of path by bus of the present embodiment consider the trip data and road network of passenger
Operation data improves the accuracy in the path by bus of simulation passenger, keeps determining path by bus more objective, so as to solve
Certainly the prior art cannot objective comprehensively reflection passenger selected transfer path the technical issues of.
It is completed under road condition second needed for trip to clearly illustrate to obtain each candidate path of riding
The specific implementation process of riding time, the embodiment of the present invention propose another determining method of path of riding, and Fig. 2 is that the present invention is real
The another kind for applying example offer is ridden the flow diagram of determining method of path.
As shown in Fig. 2, step 105 may comprise steps of on the basis of embodiment as shown in Figure 1:
Step 201, for each candidate path of riding, when obtaining the candidate operation ridden on path under road condition
Between.
Wherein, runing time includes that train driving time and passenger change to required time.
Specifically, in the candidate runing time ridden on path under obtaining road condition, it can first obtain candidate and ride
The distance between the train running speed and website in each section on path, according to the speed of service of train on each section and
Distance between website obtains each section corresponding train driving time.Each transfer stop on candidate path of riding is obtained again, and
Transfer time needed for obtaining each transfer stop under road condition.It is simulated according to the operation data of the road network acquired in real time
Road condition can therefrom know environment, such as the volume of the flow of passengers, period (such as early late peak) by bus at that time, and then basis
Environment determines the required transfer time by bus.It can be appreciated that the required transfer time is more non-when big in peak period, the volume of the flow of passengers
Peak period and transfer time needed for volume of the flow of passengers hour are long.Finally, on each section that will acquire the running time of train with
Transfer time needed for each transfer stop is added, and the candidate runing time ridden on path under road condition can be obtained.
Step 202, it obtains and enters the station from the starting station to the first time for getting on the bus required and from point of destination on candidate path of riding
It gets off to outbound the second required time.
As an example, it can be obtained at the first time by calculating with the second time.Can first obtain from the starting station into
It stands to the distance that enters the station of website by bus, and then the walking speed average according to pedestrian, it is available to enter the station to from the starting station to upper
First time needed for vehicle.Similarly, the available outbound distance outbound to ticket checking of getting off from point of destination, and then based on walking speed
Degree is obtained and is got off from point of destination to outbound the second required time.
As another example, the time haved one's ticket punched by bus can also be obtained respectively, and is obtained train arrival and originated
The time stood enters the station using the time difference of the two as from the starting station to required first time of getting on the bus.It obtains train and reaches purpose
The time stood, and obtain passenger and check the outbound time, it gets off using the time difference of the two as from point of destination to outbound required
The second time.
Step 203, runing time, first time are added with the second time, obtain candidate path by bus second is ridden
Time.
In the present embodiment, first time, the second time and the candidate fortune ridden on path under road condition are obtained
It, can the second riding time by the sum of three as candidate path of riding after the row time.
The determining method of path by bus of the present embodiment, for each candidate path of riding, by obtaining under road condition
The runing time that candidate rides on path, and obtain on candidate path of riding from the starting station to the first time for getting on the bus required and from
Point of destination was got off to outbound the second required time, and runing time, first time are added with the second time, candidate is obtained and rides
Second riding time in path, it can be improved the precision of the second riding time, so as to improve determining path of most preferably riding
Accuracy.
In order to which more clearly explanation was ridden path from all candidates according to the first riding time and the second riding time
The target of middle determining passenger is ridden the concrete methods of realizing in path, and the embodiment of the present invention proposes another path determination side that rides
Method, Fig. 3 are the flow diagram of another determining method of path of riding provided in an embodiment of the present invention.
As shown in figure 3, step 106 may comprise steps of on the basis of embodiment as shown in Figure 1:
Step 301, the absolute difference between the first riding time and each second riding time is obtained.
Step 302, minimum absolute difference value is determined, and using the corresponding candidate path of riding of minimum absolute difference value as institute
Target is stated to ride path.
In the present embodiment, after obtaining the first riding time and second riding time in each candidate path of riding,
The difference between the first riding time and each second riding time can be calculated separately, and absolute value is asked to gained difference, is obtained
Absolute difference between the first riding time and each second riding time.And then it is selected most from all absolute differences
Minimum absolute difference is worth corresponding candidate path of riding as target and ridden path by small absolute difference.
The determining method of path by bus of the present embodiment, it is exhausted between the first riding time and the second riding time by obtaining
To difference, minimum absolute difference value is therefrom determined, and minimum absolute difference is worth corresponding candidate path by bus as target and is ridden
Path.By the way that the target for being determined as passenger with the first riding time immediate second riding time is ridden path, Neng Goubao
Target determined by demonstrate,proving is ridden the path best matches by bus in path and actual selection by bus, is carried out sorting clearance for AFC system and is mentioned
Reliable foundation is supplied.
The purpose for determining the path by bus of passenger is the transfer situation of understanding by bus, and then according to clearing rules to passenger
Transfer situation carry out ticket business classifying clearance, to carry out distribution of income.To which the embodiment of the present invention also proposed one kind and multiply
Vehicle determining method of path, Fig. 4 are the flow diagram of another determining method of path of riding provided in an embodiment of the present invention.
As shown in figure 4, on the basis of embodiment as shown in Figure 1, after step 106 can with the following steps are included:
Step 401, determine that target under road condition is ridden the sorting weight in each section on path.
As an example, can according to the different sections of highway volume of the flow of passengers number determine that the corresponding sorting in each section is weighed
Weight.Specifically, the specific gravity of total volume of the flow of passengers in candidate path of riding can be accounted for, according to the volume of the flow of passengers in each section to determine that sorting is weighed
Weight, the sum of the sorting weight in each section are 1.
For example, candidate path of riding includes: the line of line-4 of Line 1-3, each route in current slot can be counted
The volume of the flow of passengers, by the sum of volume of the flow of passengers of Line 1, No. 3 lines and No. 4 lines be used as total volume of the flow of passengers, according to the volume of the flow of passengers of each route with
The ratio of total volume of the flow of passengers, determines Line 1, No. 3 lines and the corresponding sorting weight of No. 4 lines.
Step 402, the sorting weight in each section is multiplied with the ticket fee that passenger pays, it is corresponding obtains each section
Sorting result.
When passenger's booking, after the selected starting station and point of destination, the ticket fee paid needed for booking also determines therewith, can be with
The ticket fee of passenger's payment is obtained from AFC system.In turn, by the sorting weight and passenger's branch in each section in candidate path of riding
The ticket fee paid is multiplied, and the corresponding sorting result in each section can be obtained.
The determining method of path by bus of the present embodiment, by determining, target is ridden each section on path under road condition
Sorting weight, the sorting weight in each section and the ticket fee that passenger pays are multiplied to obtain the corresponding sorting in each section
As a result, it is possible to reduce the error of sorting income settlement between each section, realize that distribution of income is fair and distribution of income it is transparent
Change, reduces the conflict of interest between each operator, sustainable development and operation management benefit to urban track traffic
With positive influence.
In order to realize above-described embodiment, the present invention also proposes a kind of path determining device of riding.
Fig. 5 is a kind of structural schematic diagram of path determining device by bus provided in an embodiment of the present invention.
As shown in figure 5, should path determining device 50 include: by bus the first acquisition module 510, simulation road conditions module 520, the
Two, which obtain module 530, path planning module 540, third, obtains module 550 and determining module 560.Wherein,
First obtains module 510, for obtaining the trip data of passenger, wherein data occur includes the starting station, purpose
It stands, enter the station time and outbound time.
Road conditions module 520 is simulated, for the operation data according to the road network acquired in real time, road network during simulation trip
Road condition.
Second obtains module 530, when riding for obtaining passenger actual first according to entering the station time and outbound time
Between.
Path planning module 540, for planning candidate path of riding for passenger according to the starting station and point of destination.
Third obtains module 550, completes required the of trip under road condition for obtaining each candidate path of riding
Two riding time.
Determining module 560 is ridden road from all candidates for according to the first riding time and each second riding time
Determine that the target of passenger is ridden path in diameter.
Specifically, it is determined that module 560 is used to obtain the absolute difference between the first riding time and each second riding time
Value;It determines minimum absolute difference value, and minimum absolute difference is worth corresponding candidate path of riding as target and is ridden path.
Further, in a kind of possible implementation of the embodiment of the present invention, as shown in fig. 6, implementing as shown in Figure 5
On the basis of example, third, which obtains module 550, to include:
First acquisition unit 551, for obtaining the candidate path of riding under road condition for each candidate path of riding
On runing time.
Wherein, runing time includes that train driving time and passenger change to required time.
Specifically, first acquisition unit 551 be used to obtain the train running speed in each section on candidate path of riding with
And the distance between website, obtain the running time of train on each section;Obtain each transfer stop on candidate path of riding;?
Transfer time needed for obtaining each transfer stop under the road condition of simulation;By the running time of train on each section and each
Transfer time needed for transfer stop is added, and obtains runing time.
Second acquisition unit 552, for obtain on candidate path of riding from the starting station enter the station to get on the bus required first when
Between and get off to outbound the second required time from point of destination.
Third acquiring unit 553 obtains candidate road of riding for runing time, first time to be added with the second time
Second riding time of diameter.
It, can by the way that the target for being determined as passenger with the first riding time immediate second riding time is ridden path
Target determined by guaranteeing is ridden the path best matches by bus in path and actual selection by bus, carries out sorting clearance for AFC system
Provide reliable foundation.
Further, in a kind of possible implementation of the embodiment of the present invention, as shown in fig. 7, implementing as shown in Figure 5
On the basis of example, should path determining device 50 can also include: by bus
Sorting module 570, for riding to determine in path that the target of passenger rides after path from all candidates, really
The sorting weight for determining each section that target under road condition is ridden on path pays the sorting weight in each section and passenger
Ticket fee be multiplied, obtain the corresponding sorting result in each section.
It is ridden the sorting weight in each section on path by determining under road condition target, by the sorting in each section
Weight and the ticket fee that passenger pays are multiplied to obtain the corresponding sorting in each section as a result, it is possible to reduce sorting between each section
The error of income settlement realizes the transparence of distribution of income justice and distribution of income, reduces the interests punching between each operator
Prominent, sustainable development and operation management benefit to urban track traffic have positive influence.
It should be noted that the aforementioned explanation to determining method of path embodiment by bus is also applied for the present embodiment
Path determining device by bus, realization principle is similar, and details are not described herein again.
The present embodiment by bus path determining device, by obtain passenger trip data, trip data include the starting station,
Point of destination is entered the station time and outbound time, according to the operation data of the road network acquired in real time, the road of road network during simulation trip
Condition state, according to entering the station, time and outbound time obtain passenger's actual first riding time, are according to the starting station and point of destination
Passenger plans candidate path of riding, when obtaining each candidate path of riding and completing needed for trip second under road condition and ride
Between, according to the first riding time and each second riding time, ride to determine that the target of passenger multiplies in path from all candidates
Bus or train route diameter.Thereby, it is possible to select path of most preferably riding.It is only relied in compared to the prior art in " most short transfer path " and " most
The calculation of short transfer time ", the determining method of path by bus of the present embodiment consider the trip data and road network of passenger
Operation data improves the accuracy in the path by bus of simulation passenger, keeps determining path by bus more objective, so as to solve
Certainly the prior art cannot objective comprehensively reflection passenger selected transfer path the technical issues of.
In order to realize above-described embodiment, the present invention also proposes a kind of computer equipment.
Fig. 8 is a kind of structural schematic diagram of computer equipment provided in an embodiment of the present invention.
As shown in figure 8, the computer equipment 80 includes: processor 801 and memory 802;Wherein, processor 801 passes through
The executable program code that stores is read in memory 802 to run program corresponding with executable program code, for real
Determining method of path by bus now as in the foregoing embodiment.
In order to realize above-described embodiment, the present invention also proposes a kind of non-transitorycomputer readable storage medium, deposits thereon
Computer program is contained, can be realized path by bus as in the foregoing embodiment when the computer program is executed by processor
Determine method.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not
It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office
It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field
Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples
It closes and combines.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance
Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or
Implicitly include at least one this feature.In the description of the present invention, the meaning of " plurality " is at least two, such as two, three
It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing custom logic function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction
The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass
Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment
It sets.The more specific example (non-exhaustive list) of computer-readable medium include the following: there is the electricity of one or more wirings
Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable
Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.Such as, if realized with hardware in another embodiment, following skill well known in the art can be used
Any one of art or their combination are realized: have for data-signal is realized the logic gates of logic function from
Logic circuit is dissipated, the specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene can compile
Journey gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries
It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium
In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in a processing module
It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould
Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above
The embodiment of the present invention is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as to limit of the invention
System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of the invention
Type.
Claims (12)
- The determining method of path 1. one kind is ridden characterized by comprisingObtain the trip data of passenger, wherein the trip data includes the starting station, point of destination, enters the station time and outbound time;According to the operation data of the road network acquired in real time, the road condition of the road network during simulation trip;It is entered the station time and the outbound time according to described, obtains the passenger actual first riding time;According to the starting station and the point of destination, candidate path of riding is planned for the passenger;Obtain the second riding time needed for trip is completed in each candidate path of riding under the road condition;According to first riding time and each second riding time, ride to determine the passenger in path from all candidates Target ride path.
- 2. the method according to claim 1, wherein described obtain each candidate path of riding in the road conditions shape Second riding time needed for completing trip under state, comprising:For each candidate path of riding, the candidate runing time ridden on path, institute under the road condition are obtained Stating runing time includes that train driving time and the passenger change to required time;It obtains and enters the station from the starting station to the first time for getting on the bus required and from the point of destination on the candidate path of riding It gets off to outbound the second required time;The runing time, the first time are added with second time, obtain the second of the candidate path by bus Riding time.
- 3. according to the method described in claim 2, it is characterized in that, acquisition candidate under the road condition rides Runing time on path, comprising:The distance between the train running speed and website for obtaining each section on the candidate path of riding, obtain each road The running time of train in section;Obtain each transfer stop on the candidate path of riding;Transfer time needed for obtaining each transfer stop under the road condition;The running time of train on each section is added with the transfer time needed for each transfer stop, obtains the operation Time.
- 4. method according to claim 1-3, which is characterized in that described according to first riding time and every A second riding time rides to determine in path that the target of the passenger is ridden path from all candidates, comprising:Obtain the absolute difference between first riding time and each second riding time;It determines minimum absolute difference value, and rides road using the corresponding candidate path of riding of the minimum absolute difference value as the target Diameter.
- 5. the method according to claim 1, wherein it is described from all candidates ride to determine in path described in multiply The target of visitor is ridden after path, further includes:Determine that the target under the road condition is ridden the sorting weight in each section on path;The sorting weight in each section is multiplied with the ticket fee that the passenger pays, obtains the corresponding sorting knot in each section Fruit.
- The path determining device 6. one kind is ridden characterized by comprisingFirst obtain module, for obtaining the trip data of passenger, wherein it is described occur data include the starting station, point of destination, into It stands time and outbound time;Road conditions module is simulated, for the operation data according to the road network acquired in real time, the road of the road network during simulation trip Condition state;Second acquisition module obtains the passenger actual first and multiplies for time and the outbound time of entering the station according to The vehicle time;Path planning module, for planning candidate path of riding for the passenger according to the starting station and the point of destination;Third obtains module, multiplies for obtaining each candidate path of riding is completed under the road condition needed for going on a journey second The vehicle time;Determining module is ridden path from all candidates for according to first riding time and each second riding time The target of the middle determination passenger is ridden path.
- 7. device according to claim 6, which is characterized in that the third obtains module, comprising:First acquisition unit, for for each candidate path of riding, obtaining the candidate road of riding under the road condition Runing time on diameter, the runing time include that train driving time and the passenger change to required time;Second acquisition unit, for obtain on the candidate path of riding from the starting station enter the station to get on the bus required first when Between and get off to outbound the second required time from the point of destination;Third acquiring unit obtains the time for the runing time, the first time to be added with second time Choose the second riding time of bus or train route diameter.
- 8. device according to claim 7, which is characterized in that the first acquisition unit is specifically used for:The distance between the train running speed and website for obtaining each section on the candidate path of riding, obtain each road The running time of train in section;Obtain each transfer stop on the candidate path of riding;Transfer time needed for obtaining each transfer stop under the road condition of simulation;The running time of train on each section is added with the transfer time needed for each transfer stop, obtains the operation Time.
- 9. according to the described in any item devices of claim 6-8, which is characterized in that the determining module is specifically used for:Obtain the absolute difference between first riding time and each second riding time;It determines minimum absolute difference value, and rides road using the corresponding candidate path of riding of the minimum absolute difference value as the target Diameter.
- 10. device according to claim 9, which is characterized in that further include:Sorting module, for riding to determine in path that the target of the passenger rides to determine after path from all candidates The target is ridden the sorting weight in each section on path under the road condition, by the sorting weight in each section and institute The ticket fee for stating passenger's payment is multiplied, and obtains the corresponding sorting result in each section.
- 11. a kind of computer equipment, which is characterized in that including processor and memory;Wherein, the processor is by reading institute The executable program code that stores in memory is stated to run program corresponding with the executable program code, with for realizing Determining method of path by bus according to any one of claims 1 to 5.
- 12. a kind of non-transitorycomputer readable storage medium, is stored thereon with computer program, which is characterized in that the calculating Machine program realizes determining method of path by bus according to any one of claims 1 to 5 when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711034737.5A CN109726842A (en) | 2017-10-30 | 2017-10-30 | Determining method of path and its device by bus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711034737.5A CN109726842A (en) | 2017-10-30 | 2017-10-30 | Determining method of path and its device by bus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109726842A true CN109726842A (en) | 2019-05-07 |
Family
ID=66291307
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711034737.5A Pending CN109726842A (en) | 2017-10-30 | 2017-10-30 | Determining method of path and its device by bus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109726842A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112053010A (en) * | 2020-10-09 | 2020-12-08 | 腾讯科技(深圳)有限公司 | Riding path determining method and device, computer equipment and storage medium |
CN112133093A (en) * | 2020-09-23 | 2020-12-25 | 佳都新太科技股份有限公司 | Method and device for rapidly confirming riding path |
CN112182302A (en) * | 2020-09-23 | 2021-01-05 | 佳都新太科技股份有限公司 | Subway taking route tracing method and device based on transfer management |
CN112348230A (en) * | 2020-10-14 | 2021-02-09 | 北京交通大学 | Subway passenger travel path identification method |
CN112447054A (en) * | 2019-08-30 | 2021-03-05 | 比亚迪股份有限公司 | Method and apparatus for controlling vehicle travel |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104376624A (en) * | 2014-07-22 | 2015-02-25 | 西南交通大学 | Urban rail transit passenger flow analysis method based on AFC (Automatic Fare Collection) passenger ticket data |
CN107301492A (en) * | 2017-05-16 | 2017-10-27 | 华南理工大学 | A kind of subway ticketing classifying method based on gauss hybrid models |
-
2017
- 2017-10-30 CN CN201711034737.5A patent/CN109726842A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104376624A (en) * | 2014-07-22 | 2015-02-25 | 西南交通大学 | Urban rail transit passenger flow analysis method based on AFC (Automatic Fare Collection) passenger ticket data |
CN107301492A (en) * | 2017-05-16 | 2017-10-27 | 华南理工大学 | A kind of subway ticketing classifying method based on gauss hybrid models |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112447054A (en) * | 2019-08-30 | 2021-03-05 | 比亚迪股份有限公司 | Method and apparatus for controlling vehicle travel |
CN112133093A (en) * | 2020-09-23 | 2020-12-25 | 佳都新太科技股份有限公司 | Method and device for rapidly confirming riding path |
CN112182302A (en) * | 2020-09-23 | 2021-01-05 | 佳都新太科技股份有限公司 | Subway taking route tracing method and device based on transfer management |
CN112182302B (en) * | 2020-09-23 | 2022-03-22 | 佳都科技集团股份有限公司 | Subway taking route tracing method and device based on transfer management |
CN112053010A (en) * | 2020-10-09 | 2020-12-08 | 腾讯科技(深圳)有限公司 | Riding path determining method and device, computer equipment and storage medium |
CN112348230A (en) * | 2020-10-14 | 2021-02-09 | 北京交通大学 | Subway passenger travel path identification method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109726842A (en) | Determining method of path and its device by bus | |
Zhou et al. | Bus arrival time calculation model based on smart card data | |
Kusakabe et al. | Estimation method for railway passengers’ train choice behavior with smart card transaction data | |
Chen et al. | Smart transport: A comparative analysis using the most used indicators in the literature juxtaposed with interventions in English metropolitan areas | |
Verbich et al. | Public transit fare structure and social vulnerability in Montreal, Canada | |
CN105550789A (en) | Method for predicting bus taking passenger flow | |
CN107886723A (en) | A kind of traffic trip survey data processing method | |
CN110400015A (en) | A kind of Time Estimation Method and its device, equipment | |
Montini et al. | Searching for parking in GPS data | |
CN111815141A (en) | Method for obtaining interchange operation risk assessment model and risk assessment method | |
Veeneman et al. | PETRA: Governance as a key success factor for big data solutions in mobility | |
Mohapatra et al. | Estimation of U-turn capacity at median openings | |
Glavić et al. | Assessing sustainability of road tolling technologies | |
Carran-Fletcher et al. | Travel demand management: strategies and outcomes | |
Berloco et al. | Testing and improving urban bicycle performance | |
EP3374739A1 (en) | Method and device for providing recorded anonymized routes | |
Harmadi et al. | How does congestion matter for Jakarta’s citizens | |
CN110648008A (en) | Road condition prediction method and device | |
Koblar et al. | Calculating the speed of city bus trips: The case of Ljubljana, Slovenia | |
Friedrich | Evaluating the service quality in multi-modal transport networks | |
KR102374359B1 (en) | Method and system for congestion estimation of train based on data of transportaion card | |
Oskarbski et al. | Influence of toll collection method on motorways on traffic safety and efficiency | |
Ullah et al. | Comparison of traffic growth factors in three major highways of Bangladesh: A case study | |
Hussain et al. | Use of smart card data for zonal level public transit OD matrix estimation: literature review and research gaps | |
Buisson | Simple traffic model for a simple problem: Sizing travel time measurement devices |
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 |
Application publication date: 20190507 |
|
RJ01 | Rejection of invention patent application after publication |