CN111798016A - Method for allocating reserved waiting vehicles - Google Patents

Method for allocating reserved waiting vehicles Download PDF

Info

Publication number
CN111798016A
CN111798016A CN201910280632.0A CN201910280632A CN111798016A CN 111798016 A CN111798016 A CN 111798016A CN 201910280632 A CN201910280632 A CN 201910280632A CN 111798016 A CN111798016 A CN 111798016A
Authority
CN
China
Prior art keywords
vehicle
bus
user
station
distance
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
CN201910280632.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.)
Jiangxi Shanxing Intelligent Equipment Manufacturing Co ltd
Original Assignee
Jiangxi Shanxing Intelligent Equipment Manufacturing 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 Jiangxi Shanxing Intelligent Equipment Manufacturing Co ltd filed Critical Jiangxi Shanxing Intelligent Equipment Manufacturing Co ltd
Priority to CN201910280632.0A priority Critical patent/CN111798016A/en
Publication of CN111798016A publication Critical patent/CN111798016A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/40Business processes related to the transportation industry

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • Theoretical Computer Science (AREA)
  • Tourism & Hospitality (AREA)
  • General Physics & Mathematics (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Game Theory and Decision Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Development Economics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Traffic Control Systems (AREA)

Abstract

The invention relates to a method for allocating reserved waiting vehicles, which is based on an android system vehicle-mounted terminal installed on a bus, and a user mobile phone terminal or other terminals are provided with corresponding application programs. When a user needs to take a bus, the user finds the nearest station platform through GPS positioning, informs the user how to reach the station platform through a voice or video navigation mode, and calculates the running track of the bus through data interaction with a service end after the user reaches the station platform, so as to obtain the information of a plurality of buses nearest to the bus station platform. The server side informs the user information of the waiting vehicle, and the user obtains the vehicle information. When a vehicle enters a station, voice can be automatically broadcasted, after the vehicle enters the station and is connected with a user mobile phone end in an application mode, a user can also control the corresponding vehicle to broadcast, the accurate vehicle position is obtained, and the blind people can conveniently take the bus.

Description

Method for allocating reserved waiting vehicles
Technical Field
The invention relates to the technical field of bus distribution, in particular to a method for distributing reserved waiting vehicles.
Background
The blind people are greatly inconvenient for traveling due to the vision disorder, such as incapability of distinguishing directions and learning the spatial positions of the blind people, and even when the blind people travel on public transport vehicles (short for buses), the blind people are difficult to accurately take the required public transport vehicles without help of other people, so that the work, study and even daily life of the blind people are seriously affected. There is no device or apparatus to solve this problem.
Disclosure of Invention
In view of the above, a method for facilitating the allocation of a reserved waiting vehicle for a blind person to take a bus is provided.
A method for reserving allocation of a waiting vehicle, comprising the steps of:
s1, the user sends a riding request to the server through the mobile phone App;
s2, the server inquires the buses of the station based on sql sequencing according to the bus station and the terminal selected by the user, takes at most 3 buses, and sends the name (line _ name) of the taken bus to the App through an http request protocol;
s3, searching the order according to the time sequence and taking out the time (create _ time), comparing the current time with the taken-out time (create _ time), if the current time is larger than the taken-out time, the vehicle does not pass through the station, otherwise, the vehicle passes through the station;
s4, if the first bus in time sequence passes, returning to the step S1, and taking the bus passing the stop; repeating the starting calculation;
s5, placing the bus into a set, circularly collecting, taking out the serial number (imei) of the vehicle-mounted machine, taking out the vehicle-mounted machine according to the serial number of the vehicle-mounted machine, sending GPS points (longitude long, latitude lat) to the server at intervals through http communication by the vehicle-mounted machine, storing the GPS points into the server, taking out the latest GPS point in the set, simultaneously taking out the GPS point of a bus station, calculating the distance between the two points by using a function math method, storing by using a field (distance), and simultaneously sending the distance to App by using a resume style interface;
s6, inquiring the latest two GPS points of the vehicle and the time of the latest two GPS points by using sql inquiry through the serial number of the vehicle-mounted machine, subtracting the two times to obtain a time difference, calculating the distance between the two GPS points by using a function math method, and dividing the distance by the time to obtain the speed;
s7, taking out the buses in the set and the distance (distance) between the buses and the current station, dividing the distance by the speed to obtain the arrival time, storing the arrival time (date _ time) into the server, and sending the arrival time (date _ time) and the distance (distance) to the App by the server through a post request;
s8, taking out the latest GPS of the current vehicle, calculating the distance from the current GPS point to the GPS of each platform by using a function math method, and storing the platform list and the distance in a set; then circulating the GPS points of all the platforms, finding out the platform with the closest distance by using a function math, and continuously changing a distance list when the vehicle runs; therefore, the current station, the uplink and the downlink are respectively compared with the original current station; for uplink, the current station is the next station to the last station; for downlink, the current station is the last station of the original nearest station; from this, it is understood that the vehicle travels in the forward direction in the uplink. Is the forward stroke. For the downlink, the vehicle is traveling in reverse; if the distance is also the forward distance, the uplink and the downlink of the vehicle are stored in the server, and the data are transmitted to the App;
s9, transmitting the name (line _ name) of the bus to the App, how long the bus reaches the bus station (date _ time), how far the bus is away from the bus station, and the up-down line of the bus, and transmitting the bus name (line _ name) to the App;
s10, selecting a proper bus as a reserved bus by the user, and selecting the latest GPS point uploaded by the selected bus; calculating the distance between the GPS point of the waiting platform and the latest GPS point of the vehicle by using a math function; if the distance is less than one hundred meters; the user is reminded to get on the bus when the reserved bus is deemed to have arrived; if the latest GPS point is more than one hundred and fifty meters, reminding the user that the vehicle is out of the station; if the user does not get on the bus, returning to the step S1, taking the bus passing the stop, and repeating the calculation;
s11, after the user sits on the vehicle, the user uploads the GPS point and the time to the background through the mobile phone, and meanwhile, the time of the user is taken to inquire the vehicle selected by the user so as to inquire the GPS point of the vehicle; if the GPS point of the vehicle and the GPS point of the user are calculated to be less than fifty meters by using the math function, the user is considered to have got on the bus and make a reservation and stop waiting for the user at the same time; if the distance between the reserved vehicle and the user is more than fifty meters, sending a message to the App through the server;
s12, if the GPS point of the user is moving all the time and the moving speed is relatively high, the user is sent to App to sit and miss (type = 1); if the user's GPS point stays on the original station, it sends the App that the user is not getting on (type = 2).
Compared with the prior art, the invention has the beneficial effects that: according to the method, the corresponding application program is installed at the mobile phone end or other terminals of the user based on the android system vehicle-mounted end installed on the bus. When a user needs to take a bus, the user finds the nearest station platform through GPS positioning, informs the user how to reach the station platform through a voice or video navigation mode, and calculates the running track of the bus through data interaction with a service end after the user reaches the station platform, so as to obtain the information of a plurality of buses nearest to the bus station platform. The server side informs the user information of the waiting vehicle, and the user obtains the vehicle information. When a vehicle enters a station, voice can be automatically broadcasted, after the vehicle enters the station and is connected with a user mobile phone end in an application mode, a user can also control the corresponding vehicle to broadcast, the accurate vehicle position is obtained, and the blind people can conveniently take the bus.
Detailed Description
The present invention will be described in detail with reference to specific examples.
A method for reserving allocation of a waiting vehicle, comprising the steps of:
s1, the user sends a riding request to the server through the mobile phone App;
s2, the server inquires the buses of the station based on sql sequencing according to the bus station and the terminal selected by the user, takes at most 3 buses, and sends the name (line _ name) of the taken bus to the App through an http request protocol;
s3, searching the order according to the time sequence and taking out the time (create _ time), comparing the current time with the taken-out time (create _ time), if the current time is larger than the taken-out time, the vehicle does not pass through the station, otherwise, the vehicle passes through the station;
s4, if the first bus in time sequence passes, returning to the step S1, and taking the bus passing the stop; repeating the starting calculation;
s5, placing the bus into a set, circularly collecting, taking out the serial number (imei) of the vehicle-mounted machine, taking out the vehicle-mounted machine according to the serial number of the vehicle-mounted machine, sending GPS points (longitude long, latitude lat) to the server at intervals through http communication by the vehicle-mounted machine, storing the GPS points into the server, taking out the latest GPS point in the set, simultaneously taking out the GPS point of a bus station, calculating the distance between the two points by using a function math method, storing by using a field (distance), and simultaneously sending the distance to App by using a resume style interface;
s6, inquiring the latest two GPS points of the vehicle and the time of the latest two GPS points by using sql inquiry through the serial number of the vehicle-mounted machine, subtracting the two times to obtain a time difference, calculating the distance between the two GPS points by using a function math method, and dividing the distance by the time to obtain the speed;
s7, taking out the buses in the set and the distance (distance) between the buses and the current station, dividing the distance by the speed to obtain the arrival time, storing the arrival time (date _ time) into the server, and sending the arrival time (date _ time) and the distance (distance) to the App by the server through a post request;
s8, taking out the latest GPS of the current vehicle, calculating the distance from the current GPS point to the GPS of each platform by using a function math method, and storing the platform list and the distance in a set; then circulating the GPS points of all the platforms, finding out the platform with the closest distance by using a function math, and continuously changing a distance list when the vehicle runs; therefore, the current station, the uplink and the downlink are respectively compared with the original current station; for uplink, the current station is the next station to the last station; for downlink, the current station is the last station of the original nearest station; from this, it is understood that the vehicle travels in the forward direction in the uplink. Is the forward stroke. For the downlink, the vehicle is traveling in reverse; if the distance is also the forward distance, the uplink and the downlink of the vehicle are stored in the server, and the data are transmitted to the App;
s9, transmitting the name (line _ name) of the bus to the App, how long the bus reaches the bus station (date _ time), how far the bus is away from the bus station, and the up-down line of the bus, and transmitting the bus name (line _ name) to the App;
s10, selecting a proper bus as a reserved bus by the user, and selecting the latest GPS point uploaded by the selected bus; calculating the distance between the GPS point of the waiting platform and the latest GPS point of the vehicle by using a math function; if the distance is less than one hundred meters; the user is reminded to get on the bus when the reserved bus is deemed to have arrived; if the latest GPS point is more than one hundred and fifty meters, reminding the user that the vehicle is out of the station; if the user does not get on the bus, returning to the step S1, taking the bus passing the stop, and repeating the calculation;
s11, after the user sits on the vehicle, the user uploads the GPS point and the time to the background through the mobile phone, and meanwhile, the time of the user is taken to inquire the vehicle selected by the user so as to inquire the GPS point of the vehicle; if the GPS point of the vehicle and the GPS point of the user are calculated to be less than fifty meters by using the math function, the user is considered to have got on the bus and make a reservation and stop waiting for the user at the same time; if the distance between the reserved vehicle and the user is more than fifty meters, sending a message to the App through the server;
s12, if the GPS point of the user is moving all the time and the moving speed is relatively high, the user is sent to App to sit and miss (type = 1); if the user's GPS point stays on the original station, it sends the App that the user is not getting on (type = 2).
Compared with the prior art, the invention has the beneficial effects that: according to the method, the corresponding application program is installed at the mobile phone end or other terminals of the user based on the android system vehicle-mounted end installed on the bus. When a user needs to take a bus, the user finds the nearest station platform through GPS positioning, informs the user how to reach the station platform through a voice or video navigation mode, and calculates the running track of the bus through data interaction with a service end after the user reaches the station platform, so as to obtain the information of a plurality of buses nearest to the bus station platform. The server side informs the user information of the waiting vehicle, and the user obtains the vehicle information. When a vehicle enters a station, voice can be automatically broadcasted, after the vehicle enters the station and is connected with a user mobile phone end in an application mode, a user can also control the corresponding vehicle to broadcast, the accurate vehicle position is obtained, and the blind people can conveniently take the bus.
While the invention has been described in connection with what is presently considered to be the most practical and preferred embodiment, it is to be understood that the invention is not to be limited to the disclosed embodiment, but on the contrary, is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

Claims (1)

1. A method relating to allocation of a reserved waiting vehicle, characterized by: the method comprises the following steps:
s1, the user sends a riding request to the server through the mobile phone App;
s2, the server inquires the buses of the station based on sql sequencing according to the bus station and the terminal selected by the user, takes at most 3 buses, and sends the name (line _ name) of the taken bus to the App through an http request protocol;
s3, searching the order according to the time sequence and taking out the time (create _ time), comparing the current time with the taken-out time (create _ time), if the current time is larger than the taken-out time, the vehicle does not pass through the station, otherwise, the vehicle passes through the station;
s4, if the first bus in time sequence passes, returning to the step S1, and taking the bus passing the stop; repeating the starting calculation;
s5, placing the bus into a set, circularly collecting, taking out the serial number (imei) of the vehicle-mounted machine, taking out the vehicle-mounted machine according to the serial number of the vehicle-mounted machine, sending GPS points (longitude long, latitude lat) to the server at intervals through http communication by the vehicle-mounted machine, storing the GPS points into the server, taking out the latest GPS point in the set, simultaneously taking out the GPS point of a bus station, calculating the distance between the two points by using a function math method, storing by using a field (distance), and simultaneously sending the distance to App by using a resume style interface;
s6, inquiring the latest two GPS points of the vehicle and the time of the latest two GPS points by using sql inquiry through the serial number of the vehicle-mounted machine, subtracting the two times to obtain a time difference, calculating the distance between the two GPS points by using a function math method, and dividing the distance by the time to obtain the speed;
s7, taking out the buses in the set and the distance (distance) between the buses and the current station, dividing the distance by the speed to obtain the arrival time, storing the arrival time (date _ time) into the server, and sending the arrival time (date _ time) and the distance (distance) to the App by the server through a post request;
s8, taking out the latest GPS of the current vehicle, calculating the distance from the current GPS point to the GPS of each platform by using a function math method, and storing the platform list and the distance in a set; then circulating the GPS points of all the platforms, finding out the platform with the closest distance by using a function math, and continuously changing a distance list when the vehicle runs; therefore, the current station, the uplink and the downlink are respectively compared with the original current station; for uplink, the current station is the next station to the last station; for downlink, the current station is the last station of the original nearest station; from this, it is known that, for the uplink, the vehicle is traveling in the forward direction and is on the forward stroke;
for the downlink, the vehicle is traveling in reverse; if the distance is also the forward distance, the uplink and the downlink of the vehicle are stored in the server, and the data are transmitted to the App;
s9, transmitting the name (line _ name) of the bus to the App, how long the bus reaches the bus station (date _ time), how far the bus is away from the bus station, and the up-down line of the bus, and transmitting the bus name (line _ name) to the App;
s10, selecting a proper bus as a reserved bus by the user, and selecting the latest GPS point uploaded by the selected bus; calculating the distance between the GPS point of the waiting platform and the latest GPS point of the vehicle by using a math function; if the distance is less than one hundred meters; the user is reminded to get on the bus when the reserved bus is deemed to have arrived; if the latest GPS point is more than one hundred and fifty meters, reminding the user that the vehicle is out of the station; if the user does not get on the bus, returning to the step S1, taking the bus passing the stop, and repeating the calculation;
s11, after the user sits on the vehicle, the user uploads the GPS point and the time to the background through the mobile phone, and meanwhile, the time of the user is taken to inquire the vehicle selected by the user so as to inquire the GPS point of the vehicle; if the GPS point of the vehicle and the GPS point of the user are calculated to be less than fifty meters by using the math function, the user is considered to have got on the bus and make a reservation and stop waiting for the user at the same time; if the distance between the reserved vehicle and the user is more than fifty meters, sending a message to the App through the server;
s12, if the GPS point of the user is moving all the time and the moving speed is relatively high, the user is sent to App to sit and miss (type = 1); if the user's GPS point stays on the original station, it sends the App that the user is not getting on (type = 2).
CN201910280632.0A 2019-04-09 2019-04-09 Method for allocating reserved waiting vehicles Pending CN111798016A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910280632.0A CN111798016A (en) 2019-04-09 2019-04-09 Method for allocating reserved waiting vehicles

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910280632.0A CN111798016A (en) 2019-04-09 2019-04-09 Method for allocating reserved waiting vehicles

Publications (1)

Publication Number Publication Date
CN111798016A true CN111798016A (en) 2020-10-20

Family

ID=72804920

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910280632.0A Pending CN111798016A (en) 2019-04-09 2019-04-09 Method for allocating reserved waiting vehicles

Country Status (1)

Country Link
CN (1) CN111798016A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113393000A (en) * 2021-05-07 2021-09-14 杭州数知梦科技有限公司 Method for improving passenger flow of conventional bus line through mobile reservation
CN117874372A (en) * 2024-03-13 2024-04-12 天津公交易通科技有限公司 Public transport voice broadcasting method, device, equipment and medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101493990A (en) * 2008-01-23 2009-07-29 厦门雅迅网络股份有限公司 Method for automatically reporting station of public transport vehicle
CN104240529A (en) * 2014-09-11 2014-12-24 江苏云控软件技术有限公司 Method and system for predicting arrival time of buses
CN105096639A (en) * 2014-05-23 2015-11-25 中国电信股份有限公司 Method, device and system used for predicting bus arrival time
CN105575161A (en) * 2015-12-23 2016-05-11 上海大学 Low-power-consumption intelligent bus arrival reminding method for cellphone terminal
CN107845259A (en) * 2017-10-24 2018-03-27 东南大学 Public transport operation situation real-time feedback system and public transport real-time running data processing method
CN108281027A (en) * 2018-03-15 2018-07-13 浙江工业大学 A kind of interactive intelligent arrival reminding method and device
CN108600956A (en) * 2018-04-13 2018-09-28 武汉元光科技有限公司 Indicating means and device by bus

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101493990A (en) * 2008-01-23 2009-07-29 厦门雅迅网络股份有限公司 Method for automatically reporting station of public transport vehicle
CN105096639A (en) * 2014-05-23 2015-11-25 中国电信股份有限公司 Method, device and system used for predicting bus arrival time
CN104240529A (en) * 2014-09-11 2014-12-24 江苏云控软件技术有限公司 Method and system for predicting arrival time of buses
CN105575161A (en) * 2015-12-23 2016-05-11 上海大学 Low-power-consumption intelligent bus arrival reminding method for cellphone terminal
CN107845259A (en) * 2017-10-24 2018-03-27 东南大学 Public transport operation situation real-time feedback system and public transport real-time running data processing method
CN108281027A (en) * 2018-03-15 2018-07-13 浙江工业大学 A kind of interactive intelligent arrival reminding method and device
CN108600956A (en) * 2018-04-13 2018-09-28 武汉元光科技有限公司 Indicating means and device by bus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113393000A (en) * 2021-05-07 2021-09-14 杭州数知梦科技有限公司 Method for improving passenger flow of conventional bus line through mobile reservation
CN113393000B (en) * 2021-05-07 2022-11-11 杭州数知梦科技有限公司 Method for improving passenger flow of conventional bus line through mobile reservation
CN117874372A (en) * 2024-03-13 2024-04-12 天津公交易通科技有限公司 Public transport voice broadcasting method, device, equipment and medium
CN117874372B (en) * 2024-03-13 2024-05-24 天津公交易通科技有限公司 Public transport voice broadcasting method, device, equipment and medium

Similar Documents

Publication Publication Date Title
CN105931479B (en) Interacting instant information method and its system between a kind of vehicle
US7894982B2 (en) Method and system for linked vehicle navigation
US11323847B2 (en) Systems and methods for determining a position of a terminal device using a hidden Markov model
US11829903B2 (en) Information providing method and information providing device
US8577599B2 (en) Method and system to calculate historical traffic data
CN104851292A (en) Parking lot carport reservation system and method thereof
US20100070168A1 (en) Enhanced passenger pickup via telematics synchronization
CN101484779A (en) Method and apparatus for transmitting vehicle-related information in and out of a vehicle
US20210248911A1 (en) Vehicle management system and vehicle management method
CN106327311B (en) Order processing method, device and system
CN111133798A (en) Data transfer path calculation device and data transfer terminal
CN111507494B (en) Order processing method and system, and computer readable storage medium
JP7154831B2 (en) Vehicle management system and vehicle management method
CN111798016A (en) Method for allocating reserved waiting vehicles
CN1751227A (en) Provision of navigation information
US20160265925A1 (en) Scheduling download of data of an on-line service
US9109910B2 (en) Method and decreasing position error during turn-by-turn sessions
JP2012010241A (en) Radio communication device and wan side line switching method
CN106611264B (en) Gas station information processing system and method based on user telecommunication behavior characteristics
CN106355930A (en) Vehicle hitchhiking method, hitchhiking device and hitchhiking system
CN103458368A (en) System and method for inquiring multiple landmarks on basis of intelligent mobile terminal
CN116007653A (en) Navigation prompting method, device, equipment and program product
CN114429710B (en) Traffic flow analysis method and system based on V2X vehicle Lu Yun cooperation
CN103592666A (en) Positioning and navigation method of GPS
CN112566018B (en) Electronic roll calling method, electronic roll calling device, electronic equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination