CN105654713A - Method and device for controlling bus departure - Google Patents

Method and device for controlling bus departure Download PDF

Info

Publication number
CN105654713A
CN105654713A CN201610195258.0A CN201610195258A CN105654713A CN 105654713 A CN105654713 A CN 105654713A CN 201610195258 A CN201610195258 A CN 201610195258A CN 105654713 A CN105654713 A CN 105654713A
Authority
CN
China
Prior art keywords
bus
claimant
departure
station
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610195258.0A
Other languages
Chinese (zh)
Inventor
方桂芝
朱泗英
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Zhihuishifang Technology Co Ltd
Original Assignee
Shenzhen Zhihuishifang Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Zhihuishifang Technology Co Ltd filed Critical Shenzhen Zhihuishifang Technology Co Ltd
Publication of CN105654713A publication Critical patent/CN105654713A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/20Monitoring the location of vehicles belonging to a group, e.g. fleet of vehicles, countable or determined number of vehicles
    • G08G1/202Dispatching vehicles on the basis of a location, e.g. taxi dispatching
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/0104Measuring and analyzing of parameters relative to traffic conditions
    • G08G1/0125Traffic data processing
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/0104Measuring and analyzing of parameters relative to traffic conditions
    • G08G1/0137Measuring and analyzing of parameters relative to traffic conditions for specific applications

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Traffic Control Systems (AREA)

Abstract

The invention discloses a method and device for controlling bus departure. The method includes: acquiring bus taking request information transmitted by a client; acquiring the departure request value of each route at each station according to the bus taking request information; if the depart request value of one route at one station reaches a preset threshold, inquiring the bus number of the route before the station, and transmitting the departure command of the route if the bus number is zero. By the method, bus departure can be monitored through specific data, the bus departure requirement is met and the departure command is transmitted to a bus only when the departure request value reaches the threshold, accurate bus departure can be achieved, and balance between economy and convenience is achieved.

Description

The control method that a kind of bus is dispatched a car and control device
Technical field
The present invention relates to bus scheduling field, in particular, relate to control method and control device that a kind of bus is dispatched a car.
Background technology
Along with developing rapidly of national economy, the motor vehicles in city increases rapidly, cause that road is day by day crowded, the important vehicles that bus is gone on a journey as the modern life, substantial amounts of trip crowd can be carried, it is possible to significantly alleviate traffic pressure, thus, bus is as Green Travel, by large-scale popularization and promotion.
Bus is typically all the set time and dispatches a car, such as between 7 o'clock to the 9 o'clock morning, departure interval is general shorter, such as seven minutes, and between 9 o'clock to the 10 o'clock morning, the departure interval generally will be longer, as 15 minutes run, if and to 2 o'clock to 4 o'clock afternoon, the departure interval was likely to longer, as 30 minutes run.
The mode of dispatching a car of this set time, when the interval time dispatched a car is longer, claimant misses a regular bus by bus, it is possible to is accomplished by waiting for a long time, causes the inconvenience of claimant by bus.
Summary of the invention
The technical problem to be solved is to provide the method and apparatus that a kind of bus reducing claimant's waiting time by bus is dispatched a car.
It is an object of the invention to be achieved through the following technical solutions:
The control method that a kind of bus is dispatched a car, comprises the following steps:
Obtain the solicited message by bus that client sends;
Every the circuit departure requests value at each station is obtained according to solicited message by bus;
If wherein the departure requests value at a circuit station wherein reaches the threshold value preset, then inquire about this circuit bus quantity before this station, if zero, then send the departure instructions of this circuit.
Preferably, described solicited message by bus includes claimant's geographical location information, by bus line information and by bus claimant's bus loading zone information by bus;
The step of the solicited message by bus that described acquisition client sends includes: claimant's geographical location information by bus of acquisition client transmission, by bus line information and by bus claimant's bus loading zone information;
Described basis solicited message of riding obtains every circuit and includes in the step of the departure requests value at each station: according to claimant's geographical location information by bus and by bus claimant's bus loading zone information determine the value request by bus of claimant by bus, and all value requests by bus at same circuit by bus and same claimant's bus loading zone by bus added up obtain this circuit departure requests value at this claimant's bus loading zone of riding of riding;
If the departure requests value at a described wherein circuit station wherein reaches the threshold value preset, then inquire about this circuit bus quantity before this station, if zero, the step of the departure instructions then sending this circuit includes: if by bus circuit reaches the threshold value preset in the departure requests value of claimant's bus loading zone by bus, then inquire about the bus quantity run on this circuit of riding and before this rides claimant's bus loading zone, if zero, then send departure instructions.
Preferably, the value request by bus of each by bus claimant calculates process and is: determine claimant by bus and distance between claimant's bus loading zone by bus according to claimant's geographical location information by bus, and described value request by bus is the inverse of claimant and the distance of claimant's bus loading zone by bus by bus.
Preferably, the computing formula of described departure requests value is:
K = Σ n = 1 n 1 a n
Wherein, K is departure requests value, anFor by bus claimant and distance between claimant's bus loading zone by bus, subscript n represents the number of claimant by bus, and n is the natural number be more than or equal to 1.
The control device that a kind of bus of disclosure is dispatched a car, it is characterised in that including:
Acquisition device, for obtaining the solicited message by bus that client sends;
Statistic device, for obtaining every the circuit departure requests value at each station according to solicited message by bus;
Dispensing device, if the departure requests value being used for a wherein circuit station wherein reaches the threshold value preset, then inquires about this circuit bus quantity before this station, if zero, then send the departure instructions of this circuit.
Preferably, described solicited message by bus includes claimant's geographical location information, by bus line information and by bus claimant's bus loading zone information by bus;
Described acquisition device is additionally operable to: obtain claimant's geographical location information by bus, by bus line information and claimant's bus loading zone information of riding that client sends;
Described statistic device is additionally operable to: according to by bus claimant's geographical location information and by bus claimant's bus loading zone information determine the value request by bus of claimant by bus, and all value requests by bus at same circuit by bus and same claimant's bus loading zone by bus added up obtain this circuit departure requests value at this claimant's bus loading zone of riding of riding;
Dispensing device is additionally operable to: if by bus circuit reaches the threshold value preset in the departure requests value of claimant's bus loading zone by bus, then inquire about the bus quantity run on this circuit of riding and before this rides claimant's bus loading zone, if zero, then send departure instructions.
Preferably, the value request by bus of each by bus claimant calculates process and is: determine claimant by bus and distance between claimant's bus loading zone by bus according to claimant's geographical location information by bus, and described value request by bus is the inverse of claimant and the distance of claimant's bus loading zone by bus by bus.
Preferably, the computing formula of described departure requests value is:
K = Σ n = 1 n 1 a n
Wherein, K is departure requests value, anFor by bus claimant and distance between claimant's bus loading zone by bus, subscript n represents the number of claimant by bus, and n is the natural number be more than or equal to 1.
Compared to existing technology, the invention have the advantages that in prior art, the dispatching a car of bus is typically all the set time and dispatches a car, it is on duty and next peak period, the departing time interval of bus is all comparatively short, disclosure satisfy that most Man's Demands, but in the period that some are relatively cold, the time of departure of bus is just not easily controlled, if departing time interval is longer, need the time waited longer it would be possible that have some riders, bring inconvenience, if departing time interval is shorter, so because being the cold what is said or talked about period, it is likely to result in bus carrying very little, even unloaded situation, waste Public Resource, so being badly in need of a kind of regulating method that bus dispatches a car to solve this problem. the control method that a kind of bus disclosed in the present invention is dispatched a car, comprises the following steps: obtain the solicited message by bus that client sends, every the circuit departure requests value at each station is obtained according to solicited message by bus, if wherein the departure requests value at a circuit station wherein reaches the threshold value preset, then inquire about this circuit bus quantity before this station, if zero, then send the departure instructions of this circuit. adopt in this way, dispatching a car of bus can be allowed to be monitored by concrete data, only when the departure requests value of statistics reaches threshold value, just can reach the requirement dispatched a car, just can send departure instructions to bus, dispatching a car of bus so can be allowed more accurate, average out between economy and facility. certainly, in a particular application, this method can also use together with the method that timing is dispatched a car, such as, although the departure requests value according to statistics never reaches threshold value, but pass by half an hour apart from the time of departure of a upper bus, then departure instructions can also be sent, in order to avoid make rider's waiting time long.
This method of the present invention is particularly well-suited to the relatively lonely period, because the departing time interval of this period is general longer, this method adopting the present invention can make hommization more of dispatching a car, press close to Man's Demands by bus, reduce the time of the waiting for bus of rider, the trip being convenient for people to.
Accompanying drawing explanation
By reading the detailed description that non-limiting example is made made with reference to the following drawings, the other features, objects and advantages of the present invention will become more apparent upon:
Fig. 1 is the flow chart of the control method that the embodiment of the present invention one bus is dispatched a car;
Fig. 2 is the schematic diagram controlling device that the embodiment of the present invention two bus is dispatched a car.
Wherein: 201, acquisition device, 202, statistic device, 203, dispensing device.
In accompanying drawing, same or analogous accompanying drawing labelling represents same or analogous parts.
Detailed description of the invention
It should be mentioned that, some exemplary embodiments are described as the process as flow chart description or method before being discussed in greater detail exemplary embodiment. Although operations is described as the process of order by flow chart, but many operations therein can be implemented concurrently, concomitantly or simultaneously. Additionally, the order of operations can be rearranged. Described process can be terminated when its operations are completed, it is also possible to have the additional step being not included in accompanying drawing. Described process can correspond to method, function, code, subroutine, subprogram etc.
Alleged " computer equipment " within a context, also referred to as " computer ", refer to the intelligent electronic device that can be performed the predetermined process process such as numerical computations and/or logical calculated by operation preset program or instruction, it can include processor and memorizer, the survival instruction being performed to prestore in memory by processor is to perform predetermined process process, or performed predetermined process process by the hardware such as ASIC, FPGA, DSP, or combined by said two devices and realize. Computer equipment includes but not limited to server, PC, notebook computer, panel computer, smart mobile phone etc.
Described computer equipment includes subscriber equipment and the network equipment. Wherein, described subscriber equipment or client include but not limited to computer, smart mobile phone, PDA etc.; The described network equipment includes but not limited to server group that single network server, multiple webserver form or the cloud being made up of a large amount of computers or the webserver based on cloud computing (CloudComputing), wherein, cloud computing is the one of Distributed Calculation, the super virtual machine being made up of a group loosely-coupled computer collection. Wherein, described computer equipment isolated operation can realize the present invention, it is possible to accesses network and by realizing the present invention with the interactive operation of other computer equipments in network. Wherein, the network residing for described computer equipment includes but not limited to the Internet, wide area network, Metropolitan Area Network (MAN), LAN, VPN etc.
It should be noted that; described subscriber equipment, client, the network equipment and network etc. are only for example; other existing or computer equipments of being likely to occur from now on or network, as being applicable to the present invention, within also should being included in scope, and are incorporated herein with way of reference.
Method (some of them are illustrated by flow chart) discussed hereafter can be implemented by hardware, software, firmware, middleware, microcode, hardware description language or its combination in any. When implementing by software, firmware, middleware or microcode, the program code or code segment in order to implement necessary task can be stored in machine or computer-readable medium (such as storage medium). (one or more) processor can implement the task of necessity.
Concrete structure disclosed herein and function detail are only representational, and are the purposes of exemplary embodiment for describing the present invention. But the present invention can be implemented by many alternative forms, and is not interpreted as being limited only by the embodiments set forth herein.
Although it should be appreciated that here may have been used term " first ", " second " etc. to describe unit, but these unit should not be limited by these terms. These terms are used to be only used to make a distinction a unit and another unit. For example, when without departing substantially from the scope of exemplary embodiment, first module can be referred to as second unit, and second unit can be referred to as first module similarly. Term "and/or" used herein above includes any and all combination of one of them or more listed associated item.
It should be appreciated that when a unit is referred to as " connection " or during " coupled " to another unit, it can be connected or coupled to another unit described, or can there is temporary location. On the other hand, " when being directly connected " or " directly coupled " to another unit, then temporary location it is absent from when a unit is referred to as. Should explain in a comparable manner be used to describe the relation between unit other words (such as " and be in ... between " compared to " and be directly in ... between ", " with ... contiguous " compared to " and with ... be directly adjacent to " etc.).
Term used herein above is only used to describe specific embodiment and be not intended to limit exemplary embodiment. Unless the context clearly dictates otherwise, otherwise singulative used herein above " ", " one " also attempt to include plural number. It is to be further understood that, term used herein above " includes " and/or specifies " comprising " existence of feature, integer, step, operation, unit and/or the assembly stated, and does not preclude the presence or addition of other features one or more, integer, step, operation, unit, assembly and/or its combination.
It should further be mentioned that replace in implementation at some, the function/action being previously mentioned can according to the order generation being different from sign in accompanying drawing. For example, depending on involved function/action, the two width figure in succession illustrated can essentially substantially simultaneously perform or sometimes can perform in a reverse order.
Below in conjunction with accompanying drawing and preferred embodiment, the invention will be further described.
Wherein, the method for the present embodiment realizes mainly through server end and client; Server end can be understood as the webserver, has the server cluster of numerous server, has the database of huge storage, but and is limited to above-mentioned several. Client can be the mobile terminal device such as mobile phone, flat board, it is also possible to be the equipment such as PC end.
It should be noted that server end and client are only for example, other existing or network equipments of being likely to occur from now on and client, as being applicable to the present invention, within also should being included in scope, and are incorporated herein with way of reference. It addition, the embodiment in the present invention is by way of example only, between embodiment and embodiment can independent assortment, can also combine between multiple embodiments, if the effect being capable of in the present invention.
Embodiment one
As it is shown in figure 1, the control method that a kind of bus disclosed in the present embodiment is dispatched a car, comprise the following steps:
S101, obtains the solicited message by bus that client sends;
S102, obtains every the circuit departure requests value at each station according to solicited message by bus;
S103, if wherein the departure requests value at a circuit station wherein reaches the threshold value preset, then inquires about this circuit bus quantity before this station, if zero, then send the departure instructions of this circuit.
Compared to existing technology, the invention have the advantages that in prior art, the dispatching a car of bus is typically all the set time and dispatches a car, it is on duty and next peak period, the departing time interval of bus is all comparatively short, disclosure satisfy that most Man's Demands, but in the period that some are relatively cold, the time of departure of bus is just not easily controlled, if departing time interval is longer, need the time waited longer it would be possible that have some riders, bring inconvenience, if departing time interval is shorter, so because being the cold what is said or talked about period, it is likely to result in bus carrying very little, even unloaded situation, waste Public Resource, so being badly in need of a kind of regulating method that bus dispatches a car to solve this problem. the control method that a kind of bus disclosed in the present invention is dispatched a car, comprises the following steps: obtain the solicited message by bus that client sends, every the circuit departure requests value at each station is obtained according to solicited message by bus, if wherein the departure requests value at a circuit station wherein reaches the threshold value preset, then inquire about this circuit bus quantity before this station, if zero, then send the departure instructions of this circuit. adopt in this way, dispatching a car of bus can be allowed to be monitored by concrete data, only when the departure requests value of statistics reaches threshold value, just can reach the requirement dispatched a car, just can send departure instructions to bus, dispatching a car of bus so can be allowed more accurate, average out between economy and facility. certainly, in a particular application, this method can also use together with the method that timing is dispatched a car, such as, although the departure requests value according to statistics never reaches threshold value, but pass by half an hour apart from the time of departure of a upper bus, then departure instructions can also be sent, in order to avoid make rider's waiting time long.
This method of the present invention is particularly well-suited to the relatively lonely period, because the departing time interval of this period is general longer, this method adopting the present invention can make hommization more of dispatching a car, press close to Man's Demands by bus, reduce the time of the waiting for bus of rider, the trip being convenient for people to.
Certainly, in the present embodiment, in step S103, if the circuit departure requests value at claimant's bus loading zone by bus of riding is not up to default threshold value, this circuit bus quantity before this station would not be inquired about, without the departure instructions sending this circuit; Certainly, if by bus circuit reaches the threshold value preset in the departure requests value of claimant's bus loading zone by bus, then inquire about this circuit bus quantity before this station, if more than zero, then will not send the departure instructions of this circuit.
Such as, the server end being positioned at bus control centre obtains the solicited message by bus that user is sended over by client, then the server end value request by bus according to all claimants by bus to ride at same station of solicited message statistics by bus, rider can be a people, can also two people or more than two people, they can ride at same station, and take same circuit, after server statistics obtains all of value request by bus, departure requests value is being obtained through calculating, when departure requests value reaches threshold value, server end will inquire about the bus quantity before this station, if zero, then send departure instructions, if and the bus quantity before this station is more than zero, be such as one or more than, so temporarily will not send departure instructions, at this moment can also use together in conjunction with the method that timing is dispatched a car, the interval that such as timing is dispatched a car is 30 minutes, in 30 minutes that so a distance car before is dispatched a car, departure requests value is particular up to threshold value, so can also after the interval dispatched a car of a car before distance reaches 30 minutes, send departure instructions.
In the present embodiment, it is based on same bus stop to judge, during statistics value request by bus, it is also based on same and rides what circuit carried out adding up, such as, claimant A prepares to take 10 tunnels (up) at first station by bus, claimant B prepares to take 21 tunnels (up) at first station by bus, claimant C prepares to take 10 tunnels (up) at second station by bus, claimant D prepares to take 10 tunnels (up) at first station by bus, therefore, when adding up departure requests value, the value request by bus of claimant A by bus and the claimant D that rides should be counted by 10 tunnels (up) the departure requests value at first station,The departure requests value of claimant B by bus should be counted by 21 tunnels (up) the departure requests value at first station; The departure requests value of claimant C by bus should be counted by 10 tunnels (up) the departure requests value at second station.
According to an example, described solicited message by bus includes claimant's geographical location information, by bus line information and by bus claimant's bus loading zone information by bus;
The step of the solicited message S101 by bus that described acquisition client sends includes: claimant's geographical location information by bus of acquisition client transmission, by bus line information and by bus claimant's bus loading zone information;
Described basis solicited message of riding obtains every circuit and includes in the step of the departure requests value S102 at each station: according to claimant's geographical location information by bus and by bus claimant's bus loading zone information determine the value request by bus of claimant by bus, and all value requests by bus at same circuit by bus and same claimant's bus loading zone by bus added up obtain this circuit departure requests value at this claimant's bus loading zone of riding of riding;
If the departure requests value at a described wherein circuit station wherein reaches the threshold value preset, then inquire about this circuit bus quantity before this station, if zero, the step of the departure instructions S103 then sending this circuit includes: if by bus circuit reaches the threshold value preset in the departure requests value of claimant's bus loading zone by bus, then inquire about the bus quantity run on this circuit of riding and before this rides claimant's bus loading zone, if zero, then send departure instructions.
Such as, claimant A prepares to take 10 tunnels (up) at first station by bus, by bus claimant A distance first station 1 km; Claimant B prepares to take 21 tunnels (up) at first station by bus, by bus claimant B distance first station 0.5 km; Claimant C prepares to take 10 tunnels (up) at second station by bus, by bus claimant C distance second station 1.6 km; Claimant D prepares to take 10 tunnels (up) at first station by bus, by bus claimant D distance first station 0.2 km. Therefore, when adding up departure requests value, the value request by bus of claimant A by bus and the claimant D that rides should be counted by 10 tunnels (up) departure requests value at first station; The departure requests value of claimant B by bus should be counted by 21 tunnels (up) the departure requests value at first station; The departure requests value of claimant C by bus should be counted by 10 tunnels (up) the departure requests value at second station. So calculate, if the departure requests value at a circuit one of which station of riding therein has reached the threshold value preset, will inquire about and run on this by bus circuit and position bus quantity before this station simultaneously, if zero, the instruction allowing this bus riding circuit dispatch a car will be sent, if it is greater than zero, just do not send departure instructions.
Concrete, the value request by bus of each by bus claimant calculates process and is: determine claimant by bus and distance between claimant's bus loading zone by bus according to claimant's geographical location information by bus, and described value request by bus is the inverse of claimant and the distance of claimant's bus loading zone by bus by bus.
During detailed calculating, it is possible to adopt the computing formula of departure requests value:
K = Σ n = 1 n 1 a n
Wherein, K is departure requests value, anFor by bus claimant and distance between claimant's bus loading zone by bus, unit can be km or rice, or other unit, and subscript n represents the number of claimant by bus, and n is the natural number be more than or equal to 1.
Such as, claimant A prepares to take 10 tunnels (up) at first station by bus, by bus claimant A distance first station 1 km;Claimant B prepares to take 21 tunnels (up) at first station by bus, by bus claimant B distance first station 0.5 km, claimant C prepares to take 10 tunnels (up) at second station by bus, by bus claimant C distance second station 1.6 km, claimant D prepares to take 10 tunnels (up) at first station by bus, by bus claimant D distance first station 0.2 km. therefore, when adding up departure requests value, the value request by bus of claimant A by bus and the claimant D that rides should be counted by 10 tunnels (up) the departure requests value at first station, and 10 tunnels (up) is at the departure requests value K=1/1+1/0.2=6 at first station, the departure requests value of claimant B by bus should be counted by 21 tunnels (up) the departure requests value at first station, and 21 tunnels (up) is at the departure requests value K=1/0.5=2 at first station, the departure requests value of claimant C by bus should be counted by 10 tunnels (up) the departure requests value at second station, and 10 tunnels (up) is at the departure requests value K=1/1.6=0.625 at second station. so, the threshold value that such as 10 tunnels (up) is arranged at first station is 5, so now 10 tunnels (up) is 6 in the departure requests value at first station, exceed threshold value 5, so afterwards server end by inquiry on 10 tunnels (up) run, bus quantity that Bing Yan 10 tunnel (up) direction is before first station, if the quantity inquired is zero, so server end will send the departure instructions of 10 tunnels (up), and such 10 tunnels (up) bus will send from total station. if the threshold value that 10 tunnels (up) is arranged at first station is 6, so now 10 tunnels (up) is 6 in the departure requests value at first station, reached threshold value 6, thus afterwards server end also by inquiry on 10 tunnels (up) run, bus quantity that Bing Yan 10 tunnel (up) direction is before first station. if and the threshold value that 10 tunnels (up) is arranged at first station is 7, then now 10 tunnels (up) is 6 in the departure requests value at first station, it does not have reach threshold value 7, then server end would not be inquired about, without sending departure instructions. for another example 21 tunnels (up) is 3 in the threshold value of the setting at first station, then now 21 tunnels (up) is 2 in the departure requests value at first station, it does not have reach threshold value 3, then server would not be inquired about, without sending departure instructions. the threshold value that and for example 10 tunnels (up) is arranged at second station is 2, so now 10 tunnels (up) is 0.625 in the departure requests value at second station, it is not reaching to threshold value 2, so server would not be inquired about, without sending departure instructions, if and now have by bus claimant E to be also intended to take 10 tunnels (up) at second station, then claimant E solicited message of riding of riding has been sent to server end, the distance at claimant E distance of now riding second station is 0.5 km, server end is upon receipt, the value request by bus calculating claimant E by bus is 1/0.5=2, such 10 tunnels (up) departure requests value K=0.625+2=2.625 at second station, more than the threshold value 2 arranged, so server end also will be inquired about on 10 tunnels (up) run afterwards, Bing Yan 10 tunnel (up) direction bus quantity before second station, if the quantity inquired is zero, so server end will send the departure instructions of 10 tunnels (up), such 10 tunnels (up) bus will send from total station. additionally, when claimant is close with the distance of claimant's bus loading zone by bus by bus, for instance only 50 meters, now calculate in order to convenient, the value request by bus that by being all calculated less than or equal to 100 meters, can so change claimant by bus according to 100 meters is exactly 1/0.1=10.
Embodiment two
As in figure 2 it is shown, the control device that a kind of bus disclosed in the present embodiment is dispatched a car, comprise the following steps:
Acquisition device 201, for obtaining the solicited message by bus that client sends;
Statistic device 202, for obtaining every the circuit departure requests value at each station according to solicited message by bus;
Dispensing device 203, if the departure requests value being used for a wherein circuit station wherein reaches the threshold value preset, then inquires about this circuit bus quantity before this station, if zero, then send the departure instructions of this circuit.
Compared to existing technology, the invention have the advantages that in prior art, the dispatching a car of bus is typically all the set time and dispatches a car, it is on duty and next peak period, the departing time interval of bus is all comparatively short, disclosure satisfy that most Man's Demands, but in the period that some are relatively cold, the time of departure of bus is just not easily controlled, if departing time interval is longer, need the time waited longer it would be possible that have some riders, bring inconvenience, if departing time interval is shorter, so because being the cold what is said or talked about period, it is likely to result in bus carrying very little, even unloaded situation, waste Public Resource, so being badly in need of a kind of regulating method that bus dispatches a car to solve this problem. the control device that a kind of bus disclosed in the present invention is dispatched a car, comprises the following steps: acquisition device 201, for obtaining the solicited message by bus that client sends, statistic device 202, for obtaining every the circuit departure requests value at each station according to solicited message by bus, dispensing device 203, if the departure requests value being used for a wherein circuit station wherein reaches the threshold value preset, then inquires about this circuit bus quantity before this station, if zero, then send the departure instructions of this circuit. adopt this device, dispatching a car of bus can be allowed to be monitored by concrete data, only when the departure requests value of statistics reaches threshold value, just can reach the requirement dispatched a car, just can send departure instructions to bus, dispatching a car of bus so can be allowed more accurate, average out between economy and facility. certainly, in a particular application, this method can also use together with the method that timing is dispatched a car, such as, although the departure requests value according to statistics never reaches threshold value, but pass by half an hour apart from the time of departure of a upper bus, then departure instructions can also be sent, in order to avoid make rider's waiting time long.
This device of the present invention is particularly well-suited to the relatively lonely period, because the departing time interval of this period is general longer, this method adopting the present invention can make hommization more of dispatching a car, press close to Man's Demands by bus, reduce the time of the waiting for bus of rider, the trip being convenient for people to.
Certainly, in the present embodiment, dispensing device 203 is additionally operable to: if the circuit departure requests value at claimant's bus loading zone by bus of riding is not up to default threshold value, would not inquire about this circuit bus quantity before this station, without the departure instructions sending this circuit; Certainly, if by bus circuit reaches the threshold value preset in the departure requests value of claimant's bus loading zone by bus, then inquire about this circuit bus quantity before this station, if more than zero, then will not send the departure instructions of this circuit.
Such as, the acquisition device 201 being positioned at the server end of bus control centre obtains the solicited message by bus that user is sended over by client, then the statistic device 202 of the server end value request by bus according to all claimants by bus to ride at same station of solicited message statistics by bus, rider can be a people, can also two people or more than two people, they can ride at same station, and take same circuit, after server statistics obtains all of value request by bus, departure requests value is being obtained through calculating, when departure requests value reaches threshold value, the dispensing device 203 of server end will inquire about the bus quantity before this station, if zero, then send departure instructions, if and the bus quantity before this station is more than zero, be such as one or more than, so temporarily will not send departure instructions, at this moment can also use together in conjunction with the method that timing is dispatched a car, the interval that such as timing is dispatched a car is 30 minutes, in 30 minutes that so a distance car before is dispatched a car, departure requests value is particular up to threshold value, so can also after the interval dispatched a car of a car before distance reaches 30 minutes, send departure instructions.
In the present embodiment, it is based on same bus stop to judge, during statistics value request by bus, it is also based on same and rides what circuit carried out adding up, such as, claimant A prepares to take 10 tunnels (up) at first station by bus, claimant B prepares to take 21 tunnels (up) at first station by bus, claimant C prepares to take 10 tunnels (up) at second station by bus, claimant D prepares to take 10 tunnels (up) at first station by bus, therefore, when adding up departure requests value, the value request by bus of claimant A by bus and the claimant D that rides should be counted by 10 tunnels (up) the departure requests value at first station, the departure requests value of claimant B by bus should be counted by 21 tunnels (up) the departure requests value at first station, the departure requests value of claimant C by bus should be counted by 10 tunnels (up) the departure requests value at second station.
According to an example, described solicited message by bus includes claimant's geographical location information, by bus line information and by bus claimant's bus loading zone information by bus;
Described acquisition device 201 is additionally operable to: obtain claimant's geographical location information by bus, by bus line information and claimant's bus loading zone information of riding that client sends;
Described statistic device 202 is additionally operable to: according to by bus claimant's geographical location information and by bus claimant's bus loading zone information determine the value request by bus of claimant by bus, and all value requests by bus at same circuit by bus and same claimant's bus loading zone by bus added up obtain this circuit departure requests value at this claimant's bus loading zone of riding of riding;
Described dispensing device 203 is additionally operable to: if by bus circuit reaches the threshold value preset in the departure requests value of claimant's bus loading zone by bus, then inquire about the bus quantity run on this circuit of riding and before this rides claimant's bus loading zone, if zero, then send departure instructions.
Such as, claimant A prepares to take 10 tunnels (up) at first station by bus, by bus claimant A distance first station 1 km; Claimant B prepares to take 21 tunnels (up) at first station by bus, by bus claimant B distance first station 0.5 km; Claimant C prepares to take 10 tunnels (up) at second station by bus, by bus claimant C distance second station 1.6 km; Claimant D prepares to take 10 tunnels (up) at first station by bus, by bus claimant D distance first station 0.2 km. Therefore, when adding up departure requests value, the value request by bus of claimant A by bus and the claimant D that rides should be counted by 10 tunnels (up) departure requests value at first station; The departure requests value of claimant B by bus should be counted by 21 tunnels (up) the departure requests value at first station; The departure requests value of claimant C by bus should be counted by 10 tunnels (up) the departure requests value at second station. So calculate, if the departure requests value at a circuit one of which station of riding therein has reached the threshold value preset, will inquire about and run on this by bus circuit and position bus quantity before this station simultaneously, if zero, the instruction allowing this bus riding circuit dispatch a car will be sent, if it is greater than zero, just do not send departure instructions.
Concrete, the value request by bus of each by bus claimant calculates process and is: determine claimant by bus and distance between claimant's bus loading zone by bus according to claimant's geographical location information by bus, and described value request by bus is the inverse of claimant and the distance of claimant's bus loading zone by bus by bus.
During detailed calculating, it is possible to adopt the computing formula of departure requests value:
K = Σ n = 1 n 1 a n
Wherein, K is departure requests value, anFor by bus claimant and distance between claimant's bus loading zone by bus, unit can be km or rice, or other unit, and subscript n represents the number of claimant by bus, and n is the natural number be more than or equal to 1.
Such as, claimant A prepares to take 10 tunnels (up) at first station by bus, by bus claimant A distance first station 1 km, claimant B prepares to take 21 tunnels (up) at first station by bus, by bus claimant B distance first station 0.5 km, claimant C prepares to take 10 tunnels (up) at second station by bus, by bus claimant C distance second station 1.6 km, claimant D prepares to take 10 tunnels (up) at first station by bus, by bus claimant D distance first station 0.2 km. therefore, when adding up departure requests value, the value request by bus of claimant A by bus and the claimant D that rides should be counted by 10 tunnels (up) the departure requests value at first station, and 10 tunnels (up) is at the departure requests value K=1/1+1/0.2=6 at first station, the departure requests value of claimant B by bus should be counted by 21 tunnels (up) the departure requests value at first station, and 21 tunnels (up) is at the departure requests value K=1/0.5=2 at first station, the departure requests value of claimant C by bus should be counted by 10 tunnels (up) the departure requests value at second station, and 10 tunnels (up) is at the departure requests value K=1/1.6=0.625 at second station. so, the threshold value that such as 10 tunnels (up) is arranged at first station is 5, so now 10 tunnels (up) is 6 in the departure requests value at first station, exceed threshold value 5, so afterwards server end by inquiry on 10 tunnels (up) run, bus quantity that Bing Yan 10 tunnel (up) direction is before first station, if the quantity inquired is zero, so server end will send the departure instructions of 10 tunnels (up), and such 10 tunnels (up) bus will send from total station. if the threshold value that 10 tunnels (up) is arranged at first station is 6, so now 10 tunnels (up) is 6 in the departure requests value at first station, reached threshold value 6, thus afterwards server end also by inquiry on 10 tunnels (up) run, bus quantity that Bing Yan 10 tunnel (up) direction is before first station. if and the threshold value that 10 tunnels (up) is arranged at first station is 7, then now 10 tunnels (up) is 6 in the departure requests value at first station, it does not have reach threshold value 7, then server end would not be inquired about, without sending departure instructions. for another example 21 tunnels (up) is 3 in the threshold value of the setting at first station, then now 21 tunnels (up) is 2 in the departure requests value at first station, it does not have reach threshold value 3, then server would not be inquired about, without sending departure instructions. the threshold value that and for example 10 tunnels (up) is arranged at second station is 2, so now 10 tunnels (up) is 0.625 in the departure requests value at second station, it is not reaching to threshold value 2, so server would not be inquired about, without sending departure instructions, if and now have by bus claimant E to be also intended to take 10 tunnels (up) at second station, then claimant E solicited message of riding of riding has been sent to server end, the distance at claimant E distance of now riding second station is 0.5 km, server end is upon receipt, the value request by bus calculating claimant E by bus is 1/0.5=2, such 10 tunnels (up) departure requests value K=0.625+2=2.625 at second station, more than the threshold value 2 arranged, so server end also will be inquired about on 10 tunnels (up) run afterwards, Bing Yan 10 tunnel (up) direction bus quantity before second station, if the quantity inquired is zero, so server end will send the departure instructions of 10 tunnels (up), such 10 tunnels (up) bus will send from total station. additionally, when claimant is close with the distance of claimant's bus loading zone by bus by bus, for instance only 50 meters, now calculate in order to convenient, the value request by bus that by being all calculated less than or equal to 100 meters, can so change claimant by bus according to 100 meters is exactly 1/0.1=10.
Above content is in conjunction with concrete preferred implementation further description made for the present invention, it is impossible to assert that specific embodiment of the invention is confined to these explanations. For general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, it is also possible to make some simple deduction or replace, protection scope of the present invention all should be considered as belonging to.

Claims (8)

1. the control method that a bus is dispatched a car, it is characterised in that comprise the following steps:
Obtain the solicited message by bus that client sends;
Every the circuit departure requests value at each station is obtained according to solicited message by bus;
If wherein the departure requests value at a circuit station wherein reaches the threshold value preset, then inquire about this circuit bus quantity before this station, if zero, then send the departure instructions of this circuit.
2. the control method that a kind of bus according to claim 1 is dispatched a car, it is characterised in that described solicited message by bus includes claimant's geographical location information, by bus line information and by bus claimant's bus loading zone information by bus;
The step of the solicited message by bus that described acquisition client sends includes: claimant's geographical location information by bus of acquisition client transmission, by bus line information and by bus claimant's bus loading zone information;
Described basis solicited message of riding obtains every circuit and includes in the step of the departure requests value at each station: according to claimant's geographical location information by bus and by bus claimant's bus loading zone information determine the value request by bus of claimant by bus, and all value requests by bus at same circuit by bus and same claimant's bus loading zone by bus added up obtain this circuit departure requests value at this claimant's bus loading zone of riding of riding;
If the departure requests value at a described wherein circuit station wherein reaches the threshold value preset, then inquire about this circuit bus quantity before this station, if zero, the step of the departure instructions then sending this circuit includes: if by bus circuit reaches the threshold value preset in the departure requests value of claimant's bus loading zone by bus, then inquire about the bus quantity run on this circuit of riding and before this rides claimant's bus loading zone, if zero, then send departure instructions.
3. the control method that a kind of bus according to claim 2 is dispatched a car, it is characterized in that, the value request by bus of each by bus claimant calculates process and is: determine claimant by bus and distance between claimant's bus loading zone by bus according to claimant's geographical location information by bus, and described value request by bus is the inverse of claimant and the distance of claimant's bus loading zone by bus by bus.
4. the control method that a kind of bus according to claim 2 is dispatched a car, it is characterised in that the computing formula of described departure requests value is:
K = Σ n = 1 n 1 a n
Wherein, K is departure requests value, anFor by bus claimant and distance between claimant's bus loading zone by bus, subscript n represents the number of claimant by bus, and n is the natural number be more than or equal to 1.
5. the control device that a bus is dispatched a car, it is characterised in that including:
Acquisition device, for obtaining the solicited message by bus that client sends;
Statistic device, for obtaining every the circuit departure requests value at each station according to solicited message by bus;
Dispensing device, if the departure requests value being used for a wherein circuit station wherein reaches the threshold value preset, then inquires about this circuit bus quantity before this station, if zero, then send the departure instructions of this circuit.
6. the control device that a kind of bus according to claim 5 is dispatched a car, it is characterised in that described solicited message by bus includes claimant's geographical location information, by bus line information and by bus claimant's bus loading zone information by bus;
Described acquisition device is additionally operable to: obtain claimant's geographical location information by bus, by bus line information and claimant's bus loading zone information of riding that client sends;
Described statistic device is additionally operable to: according to by bus claimant's geographical location information and by bus claimant's bus loading zone information determine the value request by bus of claimant by bus, and all value requests by bus at same circuit by bus and same claimant's bus loading zone by bus added up obtain this circuit departure requests value at this claimant's bus loading zone of riding of riding;
Dispensing device is additionally operable to: if by bus circuit reaches the threshold value preset in the departure requests value of claimant's bus loading zone by bus, then inquire about the bus quantity run on this circuit of riding and before this rides claimant's bus loading zone, if zero, then send departure instructions.
7. the control device that a kind of bus according to claim 6 is dispatched a car, it is characterized in that, the value request by bus of each by bus claimant calculates process and is: determine claimant by bus and distance between claimant's bus loading zone by bus according to claimant's geographical location information by bus, and described value request by bus is the inverse of claimant and the distance of claimant's bus loading zone by bus by bus.
8. the control device that a kind of bus according to claim 6 is dispatched a car, it is characterised in that the computing formula of described departure requests value is:
K = Σ n = 1 n 1 a n
Wherein, K is departure requests value, anFor by bus claimant and distance between claimant's bus loading zone by bus, subscript n represents the number of claimant by bus, and n is the natural number be more than or equal to 1.
CN201610195258.0A 2016-01-21 2016-03-30 Method and device for controlling bus departure Pending CN105654713A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610044858 2016-01-21
CN2016100448587 2016-01-21

Publications (1)

Publication Number Publication Date
CN105654713A true CN105654713A (en) 2016-06-08

Family

ID=56495944

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610195258.0A Pending CN105654713A (en) 2016-01-21 2016-03-30 Method and device for controlling bus departure

Country Status (1)

Country Link
CN (1) CN105654713A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106530677A (en) * 2016-11-16 2017-03-22 武汉理工大学 School bus scheduling method and system based on real-time information
CN106997665A (en) * 2017-05-27 2017-08-01 深圳市乃斯网络科技有限公司 The distribution method and system on intelligent transportation regular bus parking stall
CN107170270A (en) * 2017-07-04 2017-09-15 北京首钢自动化信息技术有限公司 A kind of vehicle outbound management method, device, computer-readable recording medium and equipment
CN107878512A (en) * 2016-12-15 2018-04-06 比亚迪股份有限公司 Train scheduling method and system
CN107978145A (en) * 2017-08-01 2018-05-01 王映朴 A kind of method and system based on passengers quantity and run-length management Countryside Passenger Transportation public transport shift
WO2018218412A1 (en) * 2017-05-27 2018-12-06 深圳市乃斯网络科技有限公司 Method and system for allocating parking space for regular bus in intelligent traffic

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0923061A1 (en) * 1997-12-12 1999-06-16 Precimation AG Method and device for automatically displaying the probable waiting time until the arrival of the next vehicle at public transport stops
CN102226929A (en) * 2011-05-20 2011-10-26 郑州大学 Method for intelligently scheduling buses
CN103325257A (en) * 2013-07-16 2013-09-25 许若言 High-efficiency bus scheduling method and device
CN104574935A (en) * 2013-10-18 2015-04-29 西安造新电子信息科技有限公司 Bus dispatching optimization system
CN105070037A (en) * 2015-07-15 2015-11-18 国家电网公司 Public traffic information platform for comprehensive management and broadcast and operation control method thereof
CN105096079A (en) * 2014-05-06 2015-11-25 福特全球技术公司 On-demand transportation

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0923061A1 (en) * 1997-12-12 1999-06-16 Precimation AG Method and device for automatically displaying the probable waiting time until the arrival of the next vehicle at public transport stops
CN102226929A (en) * 2011-05-20 2011-10-26 郑州大学 Method for intelligently scheduling buses
CN103325257A (en) * 2013-07-16 2013-09-25 许若言 High-efficiency bus scheduling method and device
CN104574935A (en) * 2013-10-18 2015-04-29 西安造新电子信息科技有限公司 Bus dispatching optimization system
CN105096079A (en) * 2014-05-06 2015-11-25 福特全球技术公司 On-demand transportation
CN105070037A (en) * 2015-07-15 2015-11-18 国家电网公司 Public traffic information platform for comprehensive management and broadcast and operation control method thereof

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106530677A (en) * 2016-11-16 2017-03-22 武汉理工大学 School bus scheduling method and system based on real-time information
CN107878512A (en) * 2016-12-15 2018-04-06 比亚迪股份有限公司 Train scheduling method and system
CN107878512B (en) * 2016-12-15 2018-10-16 比亚迪股份有限公司 Train scheduling method and system
CN106997665A (en) * 2017-05-27 2017-08-01 深圳市乃斯网络科技有限公司 The distribution method and system on intelligent transportation regular bus parking stall
WO2018218412A1 (en) * 2017-05-27 2018-12-06 深圳市乃斯网络科技有限公司 Method and system for allocating parking space for regular bus in intelligent traffic
CN107170270A (en) * 2017-07-04 2017-09-15 北京首钢自动化信息技术有限公司 A kind of vehicle outbound management method, device, computer-readable recording medium and equipment
CN107170270B (en) * 2017-07-04 2020-02-28 北京首钢自动化信息技术有限公司 Vehicle ex-warehouse management method and device, computer readable storage medium and equipment
CN107978145A (en) * 2017-08-01 2018-05-01 王映朴 A kind of method and system based on passengers quantity and run-length management Countryside Passenger Transportation public transport shift

Similar Documents

Publication Publication Date Title
CN105654713A (en) Method and device for controlling bus departure
CN104537831B (en) The method and apparatus of vehicle scheduling
CN109034455B (en) Method, system, server and computer readable storage medium for scheduling vehicles
CN104599217B (en) Method and apparatus for the current destination for determining passenger
US20190057480A1 (en) Method and apparatus for providing transportation service information
CN102592470B (en) Traffic information publishing method, device and system
US8571918B2 (en) Estimation of transit demand models for enhancing ridership
CN104346921A (en) Location information-based taxi information communication service system, terminal and method
KR20160105517A (en) Method, apparatus and device for predicting bus running
CN104424811A (en) Prompting method for bus arrival, and mobile terminal
Wu et al. Integrating Bus Holding Control Strategies and Schedule Recovery: Simulation‐Based Comparison and Recommendation
CN105144262A (en) Method for delivering optimum path including plurality of passage places and apparatus therefor
CN104599150A (en) Intelligent client visit method
CN104616086A (en) Method and equipment used for dynamically setting buffer time of order
CN109637178A (en) Vehicle arrival time determines method and apparatus
EP3965026A1 (en) Method and device for use in information processing, and computer storage medium
CN117334072B (en) Bus arrival time prediction method and device
CN104956420B (en) Watch for Train delay is notified
US11720398B2 (en) Harvesting vehicle hardware accelerators and GPU computing capabilities when idle
CN114036411A (en) Route planning method, device, equipment and medium
CN105280012A (en) Bus dispatching system based on cloud computing
CN113743685B (en) Method for determining bus timetable and electronic equipment
CN105654712A (en) Method and device for controlling bus departure
CN113191512B (en) Vehicle reservation method and device
Nugraha Real-Time Bus Arrival Time Estimation API using WebSocket in Microservices Architecture

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160608