CN109729493A - A kind of driving range metering method and device based on public bus - Google Patents
A kind of driving range metering method and device based on public bus Download PDFInfo
- Publication number
- CN109729493A CN109729493A CN201811604963.7A CN201811604963A CN109729493A CN 109729493 A CN109729493 A CN 109729493A CN 201811604963 A CN201811604963 A CN 201811604963A CN 109729493 A CN109729493 A CN 109729493A
- Authority
- CN
- China
- Prior art keywords
- location information
- bus
- electronic device
- public bus
- information
- 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
- Traffic Control Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
The present invention provides a kind of driving range metering method and device based on public bus, which comprises receive the current location information of intelligent electronic device;Obtain the current site information of public bus;Acquisition is got on the bus instruction;Create order of riding;Receive first location information of the intelligent electronic device within first time;Obtain second location information of the public bus within first time;Obtain first distance;Receive fiveth location information of the intelligent electronic device after the first time;Obtain sixth location information of the public bus after the first time;Judge whether the 5th location information and the 6th location information are identical;Obtain the boarding station number information of the intelligent electronic device.Through the invention, it is low to solve intelligent public transport system degree, passenger is needed to swipe the card, the technical issues of influencing passenger getting on/off speed, reach intelligent reminding passenger, automated and have the records of distance by the log, and then shortened and get on or off the bus the time, improves the technical effect of public transportation efficiency.
Description
Technical field
The present invention relates to technical field of information processing more particularly to a kind of driving range metering methods and device based on public bus.
Background technique
Urban public transport be within the scope of city and its suburb, for convenience of Public Traveling, the trip carried out with passenger traffic equipment
Passenger traffic is defeated, important component of the urban public transport as urban transportation, to city political economy, culture and education, scientific skill
The influence on development of art etc. is very big and an importance of urban construction.Although public transport is not so good as Private Traffic work
Have riding convenience, but it has the advantages that the latter cannot compare, especially major public transportation main line, has ready conditions and go underground
High-speed cruising transports ultrahigh in efficiency.It is not only to solve the measure of urban traffic congestion, obstruction, while being also energy saving, improvement
Urban environment reduces the important channel of pollution.
But present inventor during inventive technique scheme, has found above-mentioned technology extremely in realizing the embodiment of the present application
It has the following technical problems less:
That there are intelligence degrees is low for existing public transport, needs passenger to swipe the card, the technology for influencing passenger getting on/off speed is asked
Topic.
Summary of the invention
The embodiment of the present invention solves public transport intelligence by providing a kind of driving range metering method and device based on public bus
It can change that degree is low, the technical issues of needing passenger to swipe the card, influence passenger getting on/off speed, reach intelligent reminding passenger, automatic
Change is had the records of distance by the log, and then is shortened and got on or off the bus the time, and the technical effect of public transportation efficiency is improved.
In view of the above problems, the embodiment of the present application is proposed in order to provide a kind of driving range metering method and dress based on public bus
It sets.
In a first aspect, it is public that the method is applied to one the present invention provides a kind of driving range metering method based on public bus
Bus, and the public bus has positioning system, the bus establishes communication link by server and an intelligent electronic device
It connects, which comprises receive the current location information for the intelligent electronic device that the server is sent;According to the public affairs
The positioning system of bus obtains the current site information of the public bus altogether;When the public bus current site information with
When the current location information of the intelligent electronic device is identical, instruction of getting on the bus is obtained;According to the instruction of getting on the bus, creation is ordered by bus
It is single;Receive first location information of the intelligent electronic device of the server transmission within first time;According to the public affairs
The positioning system of bus obtains second location information of the public bus within first time altogether;If the first position letter
Breath is consistent within the first time with the second location information, obtains first distance, the first distance is described
At a distance from first position and the second position are consistent;The intelligent electronic device of the server transmission is received in institute
State the 5th location information after first time;Obtain sixth position letter of the public bus after the first time
Breath;Judge whether the 5th location information and the 6th location information are identical;If the 5th location information with it is described
6th location information is different, according to the first distance, obtains the boarding station number information of the intelligent electronic device.
Preferably, described to judge whether the 5th location information and the 6th location information are identical, further includes: if
5th location information is identical as the 6th location information, continues to the order charging by bus.
Preferably, the method also includes: according to the boarding station number information of the intelligent electronic device, ordered by bus to described
It is single to carry out charging, and charging result is sent to the intelligent electronic device by the server.
Preferably, the site information and the current location information phase of the intelligent electronic device when the public bus
Meanwhile obtaining instruction of getting on the bus, comprising: when the site information of the public bus and the present bit confidence of the intelligent electronic device
Manner of breathing simultaneously, receives the third place letter of the intelligent electronic device of the server transmission before the first time
Breath;Obtain fourth location information of the public bus before the first time;Judge the third place information and institute
Whether identical state the 4th location information;If the third place information is different from the 4th location information, finger of getting on the bus is obtained
It enables.
Preferably, the boarding station number information according to the intelligent electronic device carries out charging to the order by bus,
And charging result is sent to the intelligent electronic device by the server, comprising: obtain the route of the public bus
Number information;The route number information of the public bus is sent to the server;Receive the institute that the server is sent
State the Freight Basis of public bus;According to the boarding station number information of the intelligent electronic device, the charging mark of the public bus
Standard carries out charging to the order by bus, and charging result is sent to the intelligent electronic device by the server.
Second aspect, the present invention provides a kind of log arrangement based on public bus, described device includes: the first reception
Unit, first receiving unit receive the current location information for the intelligent electronic device that the server is sent;First
Obtaining unit, the first obtains unit obtain the current site of the public bus according to the positioning system of the public bus
Information;Second obtaining unit, when the current site information of the public bus and the present bit confidence of the intelligent electronic device
Simultaneously, second obtaining unit obtains instruction of getting on the bus to manner of breathing;First processing units, the first processing units are according on described
Vehicle instruction, creates order of riding;Second receiving unit, second receiving unit receive the intelligence that the server is sent
First location information of the electronic equipment within first time;Third obtaining unit, the third obtaining unit is according to described public
The positioning system of bus obtains second location information of the public bus within first time;4th obtaining unit, if institute
It states first location information and is consistent within the first time with the second location information, the 4th obtaining unit obtains
First distance, the first distance are at a distance from the first position and the second position are consistent;Third receiving unit,
The third receiving unit receives the 5th of the intelligent electronic device of the server transmission after the first time
Location information;5th obtaining unit, the 5th obtaining unit obtain of the public bus after the first time
Six location informations;First judging unit, first judging unit judge that the 5th location information and the 6th position are believed
It whether identical ceases;6th obtaining unit, if the 5th location information is different from the 6th location information, the described 6th is obtained
Unit is obtained according to the first distance, obtains the boarding station number information of the intelligent electronic device.
Preferably, first judging unit further include: the second processing unit, if the 5th location information with it is described
6th location information is identical, and described the second processing unit continues to the order charging by bus.
Preferably, described device further include: third processing unit, the third processing unit are set according to the smart electronics
Standby boarding station number information carries out charging to the order by bus, and described in charging result is sent to by the server
Intelligent electronic device.
Preferably, second obtaining unit includes: the 4th receiving unit, site information and institute when the public bus
State intelligent electronic device current location information it is identical when, the 4th receiving unit receives the intelligence that the server is sent
It can the third place information of the electronic equipment before the first time;7th obtaining unit, the 7th obtaining unit obtain
Fourth location information of the public bus before the first time;Second judgment unit, the second judgment unit are sentenced
Whether the third place information of breaking and the 4th location information are identical;8th obtaining unit, if the third place is believed
Breath is different from the 4th location information, and the 8th obtaining unit obtains instruction of getting on the bus.
Preferably, the third processing unit includes: the 9th obtaining unit, and the 9th obtaining unit obtains described public
The route number information of bus;First transmission unit, first transmission unit is by the route number information of the public bus
It is sent to the server;5th receiving unit, the 5th receiving unit receive described public bar that the server is sent
The Freight Basis of scholar;Fourth processing unit, the fourth processing unit according to the boarding station number information of the intelligent electronic device,
The Freight Basis of the public bus carries out charging to the order by bus, and charging result is sent by the server
To the intelligent electronic device.
The third aspect, the log arrangement the present invention provides another kind based on public bus, including memory, processor and
The computer program that can be run on a memory and on a processor is stored, the processor is realized following when executing described program
Step: the current location information for the intelligent electronic device that the server is sent is received;According to determining for the public bus
Position system obtains the current site information of the public bus;Current site information and the intelligence electricity when the public bus
When the current location information of sub- equipment is identical, instruction of getting on the bus is obtained;According to the instruction of getting on the bus, order of riding is created;Receive institute
State first location information of the intelligent electronic device of server transmission within first time;According to determining for the public bus
Position system obtains second location information of the public bus within first time;If the first location information and described the
Two location informations are consistent within the first time, obtain first distance, the first distance be the first position with
The distance that the second position is consistent;The intelligent electronic device of the server transmission is received in the first time
The 5th location information later;Obtain sixth location information of the public bus after the first time;Described in judgement
Whether the 5th location information and the 6th location information are identical;If the 5th location information and the 6th location information
Difference obtains the boarding station number information of the intelligent electronic device according to the first distance.
Said one or multiple technical solutions in the embodiment of the present application at least have following one or more technology effects
Fruit:
The embodiment of the present application provides a kind of driving range metering method and device based on public bus, and it is public that the method is applied to one
Bus altogether, and the public bus has positioning system, the bus is communicated by server with intelligent electronic device foundation
Connection, which comprises receive the current location information for the intelligent electronic device that the server is sent;According to described
The positioning system of public bus obtains the current site information of the public bus;When the current site information of the public bus
When identical as the current location information of the intelligent electronic device, instruction of getting on the bus is obtained;According to the instruction of getting on the bus, creation is ridden
Order;Receive first location information of the intelligent electronic device of the server transmission within first time;According to described
The positioning system of public bus obtains second location information of the public bus within first time;If the first position
Information is consistent within the first time with the second location information, obtains first distance, the first distance is institute
It states at a distance from first position and the second position be consistent;The intelligent electronic device that the server is sent is received to exist
The 5th location information after the first time;Obtain sixth position letter of the public bus after the first time
Breath;Judge whether the 5th location information and the 6th location information are identical;If the 5th location information with it is described
6th location information is different, according to the first distance, obtains the boarding station number information of the intelligent electronic device.By this hair
Bright, it is low to solve intelligent public transport system degree, the technical issues of needing passenger to swipe the card, influence passenger getting on/off speed, reaches
Intelligent reminding passenger, automation are had the records of distance by the log, and then are shortened and got on or off the bus the time, and the technical effect of public transportation efficiency is improved.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention,
And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
Fig. 1 is a kind of flow diagram of the driving range metering method based on public bus in the embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of the log arrangement based on public bus in the embodiment of the present invention;
Fig. 3 is the structural schematic diagram of log arrangement of the another kind based on public bus in the embodiment of the present invention.
Specific embodiment
The embodiment of the present application provides a kind of driving range metering method and device based on public bus, and it is public that the method is applied to one
Bus altogether, and the public bus has positioning system, the bus is communicated by server with intelligent electronic device foundation
Connection, which comprises receive the current location information for the intelligent electronic device that the server is sent;According to described
The positioning system of public bus obtains the current site information of the public bus;When the current site information of the public bus
When identical as the current location information of the intelligent electronic device, instruction of getting on the bus is obtained;According to the instruction of getting on the bus, creation is ridden
Order;Receive first location information of the intelligent electronic device of the server transmission within first time;According to described
The positioning system of public bus obtains second location information of the public bus within first time;If the first position
Information is consistent within the first time with the second location information, obtains first distance, the first distance is institute
It states at a distance from first position and the second position be consistent;The intelligent electronic device that the server is sent is received to exist
The 5th location information after the first time;Obtain sixth position letter of the public bus after the first time
Breath;Judge whether the 5th location information and the 6th location information are identical;If the 5th location information with it is described
6th location information is different, according to the first distance, obtains the boarding station number information of the intelligent electronic device.By this hair
Bright, it is low to solve intelligent public transport system degree, the technical issues of needing passenger to swipe the card, influence passenger getting on/off speed, reaches
Intelligent reminding passenger, automation are had the records of distance by the log, and then are shortened and got on or off the bus the time, and the technical effect of public transportation efficiency is improved.
Technical solution of the present invention is described in detail below by attached drawing and specific embodiment, it should be understood that the application
Specific features in embodiment and embodiment are the detailed description to technical scheme, rather than to present techniques
The restriction of scheme, in the absence of conflict, the technical characteristic in the embodiment of the present application and embodiment can be combined with each other.
The terms "and/or", only a kind of incidence relation for describing affiliated partner, indicates that there may be three kinds of passes
System, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three situations of individualism B.In addition, herein
Middle character "/" typicallys represent the relationship that forward-backward correlation object is a kind of "or".
Embodiment one
Fig. 1 is a kind of flow diagram of the driving range metering method based on public bus in the embodiment of the present invention.The method is answered
For a public bus, and the public bus has positioning system, and the bus passes through server and an intelligent electronic device
Establish communication connection, which comprises
Step 110: receiving the current location information for the intelligent electronic device that the server is sent;
Specifically, the intelligent electronic device has positioning function, after user is logged into server, positioning function can be certainly
Dynamic starting, and obtain the real time position of user, electronic equipment location information obtained can by platform that client logs in or
It is sent to server by app, while the position of public bus can be also sent to server by the positioning system on public bus,
After server obtains the location information of user and the location information of public bus, nearest from user multiply can be recommended from trend user
Station point, while the information such as specific location and the arrival time point of public bus are pushed to user, it is for reference.Such as with
Family will take No. 12 buses, after user, which opens app, enters server, select No. 12 buses, server passes through user hand
The positioning system of machine obtains the specific location of user, judges that user is nearest from No. 12 buses by the specific location of user
Website have 500 meters, nearest site location and navigation information can be sent to user by server at this time, while by 12 tunnels public affairs
Friendship running position and the time point for reaching the website are sent to user, for reference.And then the time is saved for user, and have
Effect prevents user from detouring or missing bus.
Step 120: the current site information of the public bus is obtained according to the positioning system of the public bus;
Specifically, the electronic equipment, which can be mobile phone, tablet computer, smartwatch that user uses etc., has positioning function
The electronic product of energy, the electronic product can be surfed the Internet by modes such as mobile network or wireless networks.The server can
It realizes the communication transfer between electronic product and public transport, and both sides is supervised, big data system can also be carried out
Meter analysis, to realize data synchronization and the unified management between electronic equipment and public transport.User can be by certainly
Oneself electronic product passes through the public transports such as server and public bus or subway from app or other service platforms
Connection, then the station that electronic equipment obtains public bus or subway that oneself needs to take by server can be used in user
The point information such as information and vehicle location.Server can also obtain the location information of consumer electronic devices simultaneously.Such as certain user
Want to take subway Line 1, while the user is logged into server using mobile phone app, can inquire subway Line 1 by app
The time of departure, by information such as the time of each website and current positions, which can refer to above- mentioned information reasonable arrangement
The time of oneself simultaneously selects the website nearest from oneself to take.
Step 130: when the current site information of the public bus and the current location information of the intelligent electronic device
When identical, instruction of getting on the bus is obtained;Further, the site information when the public bus and the intelligent electronic device
When current location information is identical, instruction of getting on the bus is obtained, comprising: when site information and the smart electronics of the public bus are set
When standby current location information is identical, the intelligent electronic device of the server transmission is received before the first time
The third place information;Obtain fourth location information of the public bus before the first time;Judge the third
Whether location information and the 4th location information are identical;If the third place information and the 4th location information are not
Together, instruction of getting on the bus is obtained.
Specifically, server can obtain user and public bar in real time after user determines the public bus for needing to take
The location information of scholar, and judge whether user has got on the bus by the location information of user and public bus, if the server determine that
The position of user is not identical as the position of public bus, then can determine whether out that user does not get on the bus, when server is set by user's electronics
Standby positioning system determines that the position of user is website of waiting, and obtains public bus by the positioning system on public bus
When station, server can remind user to get on the bus in a manner of vibration, jingle bell or message notifying etc..Such as certain user need to take public affairs
Hand over No. 12 lines, and the user has arrived at station, prompting when Server Default is set as bus apart from 200 meters of station, then
When bus apart from station there are also at 200 meters, server can send prompt information to the electronic equipment of user's game server, mention
Awake user gets on the bus in time, prevents from missing bus.
Step 140: according to the instruction of getting on the bus, creating order of riding;
Specifically, server tentatively can judge that user gets on the bus at the station according to the instruction of getting on the bus sent to user, and to use
The independent order by bus of family creation, what the real-time positioning and public transport that server can be sent according to user mobile phone were sent
Whether real-time location determination user has got on the bus, if it is determined that user does not get on the bus, cancels the order.Such as certain user needs to take
No. 12 lines of public transport, server get user and have reached station, and vehicle distances station only has 200 meters, then server can be automatic
Reminder message is sent to user, while creating an order by bus for user, the starting point of the order is exactly the website where passenger,
If server gets vehicle and has run out website, and the position of user is still in the website, then server can be used automatically
Cancel the order in family.An identification device also is provided on bus, which can obtain the use of game server by server
The order whether family there is server to automatically generate, if certain user does not have order or not landed server, the user
Rear vehicle of getting on the bus can issue voice prompting or alarm, prompt the user that can not withhold, and user can be effectively prevent to steal a ride in this way.
Step 150: receiving first position letter of the intelligent electronic device of the server transmission within first time
Breath;
Step 160: second of the public bus within first time is obtained according to the positioning system of the public bus
Location information;
Step 170: if the first location information and the second location information keep one within the first time
It causes, obtains first distance, the first distance is at a distance from the first position and the second position are consistent;
Specifically, server can pass through the positioning system and public transport of consumer electronic devices after user gets on the bus
Positioning system, while obtaining the location information of user and public transport, and pass through the position of user and public transport
Variation is set, whether onboard to determine user, when server determines that user is identical as the displacement of public transport, server is certainly
It is dynamic to determine that user has started to ride, and be user's charging since the position of creation order, pass through user and public transport
The change in location of joint displacement determines user's travel distance.Such as certain user needs to take bus, which passes through mobile phone app
Game server, server can automatically obtain the real time position of the user after user gets on the bus, and by determining on bus
Position device obtains the real time position of bus, when server determines the two position consistency, it may be determined that passenger onboard, and is led to
The common change in location of the two is crossed, further determines that passenger has sat how many stop.
Step 180: receiving the 5th of the intelligent electronic device of the server transmission after the first time
Location information;
Step 190: obtaining sixth location information of the public bus after the first time;
Step 200: judging whether the 5th location information and the 6th location information are identical;Further, described
Judge whether the 5th location information and the 6th location information identical, further includes: if the 5th location information with
6th location information is identical, continues to the order charging by bus.
Specifically, server can obtain the location information of user all the time by the electronic equipment of user after user gets on the bus,
And the location information of public transport is obtained by the positioning system of public transport, when user location information with it is described
When the location information of public transport is consistent, server judges automatically user also onboard, and continues charging automatically for user,
When server identifies the location information of user in the position difference of a certain website and public transport, server can be automatic
The position for judging that user has got off, and being got on the bus by user and the position got off determine user distance and boarding station number by bus.
Such as server is positioned by the mobile phone of user and determines that user gets on the bus from the 2nd station of bus, then server can be created for user
An order by bus is built, the starting point of the order is the 2nd station of bus, while server can automatically obtain the real-time position of bus
It sets, whether also onboard user is judged by the real time position of bus and the position of user, after user gets off from the 10th station,
Server can will acquire the real time position of user at the 10th station, and bus has been sent to the 11st station, at this time the real-time position of user
Set different from the real time position of bus, then server determines that user gets off from the 10th station, and by the end of the order by bus of user
Point is determined as the 10th station, and then determines that user has taken 8 stops in total.
Step 210: if the 5th location information is different from the 6th location information, according to the first distance,
Obtain the boarding station number information of the intelligent electronic device.Further, the method also includes: set according to the smart electronics
Standby boarding station number information carries out charging to the order by bus, and described in charging result is sent to by the server
Intelligent electronic device.Further, the boarding station number information according to the intelligent electronic device, to it is described by bus order into
Row charging, and charging result is sent to the intelligent electronic device by the server, comprising: obtain the public bus
Route number information;The route number information of the public bus is sent to the server;Receive the server hair
The Freight Basis of the public bus sent;According to the boarding station number information of the intelligent electronic device, the public bus
Freight Basis carries out charging to the order by bus, and charging result is sent to the smart electronics by the server
Equipment.
Specifically, prestoring the line information of each public transport, route number information, website letter in server
The information such as breath and charging regulation can automatically determine in user's order after server determines that user gets off from certain station
Boarding station number, and the information of vehicles taken by user, the automatic charging regulation and charging standard that the vehicle is matched for user,
With after the completion, server can be by the order progress by bus of the charging regulation of the vehicle of user's seating and charging standard and user
Match, and then calculate the expense that user takes the public transport, and takes off and multiply from the remaining sum of user or binding account
Fare is used.Such as certain user takes subway Line 1 by mobile phone app game server, has sat 6 stops in total, server determines
After the order by bus of the user, it is 2 yuan that the charging regulation for getting subway Line 1 automatically, which is in 4 stations, and 4 stations often surpass later
It crosses 1 station and increases by 0.5 yuan, then server can be automatically 3 yuan by the fare that this charging regulation calculates user.Server calculates use
After the expense by bus at family, withhold automatically from the account balance of user mobile phone app, if withholdd unsuccessfully, server be will continue to
It further withholds from the binding Send only Account of user app, if all withhold fails, server can automatically generate for user
One arrearage bill, if arrearage billing amount is more than the credit line of user, server can be refused to be generated for user automatically
Order, user will be unable to ride, not only user-friendly in this way, but also user's debt can be prevented excessive, influence public transport just
Often charge.
Embodiment 2
Based on inventive concept same as a kind of driving range metering method based on public bus in previous embodiment, the present invention is also mentioned
For a kind of log arrangement based on public bus, as shown in Fig. 2, described device includes: the first receiving unit 11, described first is connect
Receive the current location information that unit receives the intelligent electronic device that the server is sent;First obtains unit 12, it is described
First obtains unit obtains the current site information of the public bus according to the positioning system of the public bus;Second obtains
Unit 13, when the current site information of the public bus is identical as the current location information of the intelligent electronic device, institute
It states the second obtaining unit and obtains instruction of getting on the bus;First processing units 14, the first processing units are got on the bus instruction according to, wound
Build order by bus;Second receiving unit 15, second receiving unit receive the smart electronics that the server is sent and set
The standby first location information within first time;Third obtaining unit 16, the third obtaining unit is according to the public bus
Positioning system obtain second location information of the public bus within first time;4th obtaining unit 17, if described
First location information is consistent within the first time with the second location information, and the 4th obtaining unit obtains the
One distance, the first distance are at a distance from the first position and the second position are consistent;Third receiving unit 18,
The third receiving unit receives the 5th of the intelligent electronic device of the server transmission after the first time
Location information;5th obtaining unit 19, the 5th obtaining unit obtain the public bus after the first time
6th location information;First judging unit 20, first judging unit judge the 5th location information and described 6th
Whether confidence breath is identical;6th obtaining unit 21, it is described if the 5th location information is different from the 6th location information
6th obtaining unit obtains the boarding station number information of the intelligent electronic device according to the first distance.
Further, first judging unit further include: the second processing unit, if the 5th location information and institute
It is identical to state the 6th location information, described the second processing unit continues to the order charging by bus.
Further, described device further include: third processing unit, the third processing unit is according to the smart electronics
The boarding station number information of equipment carries out charging to the order by bus, and charging result is sent to institute by the server
State intelligent electronic device.
Further, second obtaining unit includes: the 4th receiving unit, when the public bus site information with
When the current location information of the intelligent electronic device is identical, the 4th receiving unit receives the described of the server transmission
The third place information of the intelligent electronic device before the first time;7th obtaining unit, the 7th obtaining unit obtain
Obtain fourth location information of the public bus before the first time;Second judgment unit, the second judgment unit
Judge whether the third place information and the 4th location information are identical;8th obtaining unit, if the third place
Information is different from the 4th location information, and the 8th obtaining unit obtains instruction of getting on the bus.
Further, the third processing unit includes: the 9th obtaining unit, and the 9th obtaining unit obtains the public affairs
The route number information of bus altogether;First transmission unit, first transmission unit believe the route number of the public bus
Breath is sent to the server;5th receiving unit, the 5th receiving unit receive the described public of the server transmission
The Freight Basis of bus;Fourth processing unit, the fourth processing unit are believed according to the boarding station number of the intelligent electronic device
The Freight Basis of breath, the public bus carries out charging to the order by bus, and charging result is sent out by the server
It send to the intelligent electronic device.
The various change mode and specific example of driving range metering method of one of 1 embodiment 1 of earlier figures based on public bus
Be equally applicable to a kind of log arrangement based on public bus of the present embodiment, by it is aforementioned to a kind of based on public bus
The detailed description of Cheng Fangfa, those skilled in the art are clear that a kind of having the records of distance by the log based on public bus in the present embodiment
The implementation method of device, so this will not be detailed here in order to illustrate the succinct of book.
Embodiment 3
Based on inventive concept same as a kind of driving range metering method based on public bus in previous embodiment, the present invention is also mentioned
Log arrangement for another kind based on public bus, is stored thereon with computer program, realization when which is executed by processor
A kind of the step of either driving range metering method based on public bus described previously method.
Wherein, in Fig. 3, bus architecture (is represented) with bus 300, and bus 300 may include any number of interconnection
Bus and bridge, bus 300 will include the one or more processors represented by processor 302 and what memory 304 represented deposits
The various circuits of reservoir link together.Bus 300 can also will peripheral equipment, voltage-stablizer and management circuit etc. it
Various other circuits of class link together, and these are all it is known in the art, therefore, no longer carry out further to it herein
Description.Bus interface 306 provides interface between bus 300 and receiver 301 and transmitter 303.Receiver 301 and transmitter
303 can be the same element, i.e. transceiver, provide the unit for communicating over a transmission medium with various other devices.
Processor 302 is responsible for management bus 300 and common processing, and memory 304 can be used for storage processor
302 when executing operation used data.
Said one or multiple technical solutions in the embodiment of the present application at least have following one or more technology effects
Fruit:
The embodiment of the present application provides a kind of driving range metering method and device based on public bus, and it is public that the method is applied to one
Bus altogether, and the public bus has positioning system, the bus is communicated by server with intelligent electronic device foundation
Connection, which comprises receive the current location information for the intelligent electronic device that the server is sent;According to described
The positioning system of public bus obtains the current site information of the public bus;When the current site information of the public bus
When identical as the current location information of the intelligent electronic device, instruction of getting on the bus is obtained;According to the instruction of getting on the bus, creation is ridden
Order;Receive first location information of the intelligent electronic device of the server transmission within first time;According to described
The positioning system of public bus obtains second location information of the public bus within first time;If the first position
Information is consistent within the first time with the second location information, obtains first distance, the first distance is institute
It states at a distance from first position and the second position be consistent;The intelligent electronic device that the server is sent is received to exist
The 5th location information after the first time;Obtain sixth position letter of the public bus after the first time
Breath;Judge whether the 5th location information and the 6th location information are identical;If the 5th location information with it is described
6th location information is different, according to the first distance, obtains the boarding station number information of the intelligent electronic device.By this hair
Bright, it is low to solve intelligent public transport system degree, the technical issues of needing passenger to swipe the card, influence passenger getting on/off speed, reaches
Intelligent reminding passenger, automation are had the records of distance by the log, and then are shortened and got on or off the bus the time, and the technical effect of public transportation efficiency is improved.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (7)
1. a kind of driving range metering method based on public bus, which is characterized in that the method is applied to a public bus, and the public affairs
Bus has positioning system altogether, and the bus is established by server and an intelligent electronic device and communicated to connect, the method packet
It includes:
Receive the current location information for the intelligent electronic device that the server is sent;
The current site information of the public bus is obtained according to the positioning system of the public bus;
When the current site information of the public bus is identical as the current location information of the intelligent electronic device, in acquisition
Vehicle instruction;
According to the instruction of getting on the bus, order of riding is created;
Receive first location information of the intelligent electronic device of the server transmission within first time;
Second location information of the public bus within first time is obtained according to the positioning system of the public bus;
If the first location information is consistent within the first time with the second location information, obtain first away from
From, the first distance at a distance to be the first position with the second position be consistent;
Receive fiveth location information of the intelligent electronic device of the server transmission after the first time;
Obtain sixth location information of the public bus after the first time;
Judge whether the 5th location information and the 6th location information are identical;
If the 5th location information is different from the 6th location information, according to the first distance, the intelligence is obtained
The boarding station number information of electronic equipment.
2. the method as described in claim 1, which is characterized in that judgement the 5th location information and the 6th position
Whether information is identical, further includes:
If the 5th location information is identical as the 6th location information, continue to the order charging by bus.
3. the method as described in claim 1, which is characterized in that the method also includes:
According to the boarding station number information of the intelligent electronic device, charging is carried out to the order by bus, and charging result is led to
It crosses the server and is sent to the intelligent electronic device.
4. the method as described in claim 1, which is characterized in that the site information and the intelligence when the public bus
When the current location information of electronic equipment is identical, instruction of getting on the bus is obtained, comprising:
When the site information of the public bus is identical as the current location information of the intelligent electronic device, the clothes are received
The third place information of the intelligent electronic device that business device is sent before the first time;
Obtain fourth location information of the public bus before the first time;
Judge whether the third place information and the 4th location information are identical;
If the third place information is different from the 4th location information, instruction of getting on the bus is obtained.
5. method as claimed in claim 3, which is characterized in that described to be believed according to the boarding station number of the intelligent electronic device
Breath carries out charging to the order by bus, and charging result is sent to the intelligent electronic device by the server, wraps
It includes:
Obtain the route number information of the public bus;
The route number information of the public bus is sent to the server;
Receive the Freight Basis for the public bus that the server is sent;
According to the boarding station number information of the intelligent electronic device, the Freight Basis of the public bus, to the order by bus
Charging is carried out, and charging result is sent to the intelligent electronic device by the server.
6. a kind of log arrangement based on public bus, which is characterized in that described device includes:
First receiving unit, first receiving unit receive the present bit for the intelligent electronic device that the server is sent
Confidence breath;
First obtains unit, the first obtains unit obtain the public bus according to the positioning system of the public bus
Current site information;
Second obtaining unit, when the current site information of the public bus and the current location information of the intelligent electronic device
When identical, second obtaining unit obtains instruction of getting on the bus;
First processing units, the first processing units are got on the bus instruction according to, and creation is ridden order;
Second receiving unit, second receiving unit receive the intelligent electronic device of the server transmission at first
Interior first location information;
Third obtaining unit, the third obtaining unit obtain the public bus according to the positioning system of the public bus and exist
Second location information in first time;
4th obtaining unit, if the first location information and the second location information keep one within the first time
It causes, the 4th obtaining unit obtains first distance, and the first distance is that the first position and the second position are kept
Consistent distance;
Third receiving unit, the third receiving unit receive the intelligent electronic device that the server is sent described the
The 5th location information after one time;
5th obtaining unit, the 5th obtaining unit obtain sixth position of the public bus after the first time
Information;
First judging unit, first judging unit judge the 5th location information and the 6th location information whether phase
Together;
6th obtaining unit, if the 5th location information is different from the 6th location information, the 6th obtaining unit
According to the first distance, the boarding station number information of the intelligent electronic device is obtained.
7. a kind of log arrangement based on public bus, including memory, processor and storage on a memory and can handled
The computer program run on device, which is characterized in that the processor performs the steps of when executing described program
Receive the current location information for the intelligent electronic device that the server is sent;
The current site information of the public bus is obtained according to the positioning system of the public bus;
When the current site information of the public bus is identical as the current location information of the intelligent electronic device, in acquisition
Vehicle instruction;
According to the instruction of getting on the bus, order of riding is created;
Receive first location information of the intelligent electronic device of the server transmission within first time;
Second location information of the public bus within first time is obtained according to the positioning system of the public bus;
If the first location information is consistent within the first time with the second location information, obtain first away from
From, the first distance at a distance to be the first position with the second position be consistent;
Receive fiveth location information of the intelligent electronic device of the server transmission after the first time;
Obtain sixth location information of the public bus after the first time;
Judge whether the 5th location information and the 6th location information are identical;
If the 5th location information is different from the 6th location information, according to the first distance, the intelligence is obtained
The boarding station number information of electronic equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811604963.7A CN109729493A (en) | 2018-12-27 | 2018-12-27 | A kind of driving range metering method and device based on public bus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811604963.7A CN109729493A (en) | 2018-12-27 | 2018-12-27 | A kind of driving range metering method and device based on public bus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109729493A true CN109729493A (en) | 2019-05-07 |
Family
ID=66296418
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811604963.7A Pending CN109729493A (en) | 2018-12-27 | 2018-12-27 | A kind of driving range metering method and device based on public bus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109729493A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103186926A (en) * | 2011-12-27 | 2013-07-03 | 王筱雨 | Method and system for automatic segmented charging for taking bus |
KR20140066884A (en) * | 2012-11-23 | 2014-06-03 | 순천향대학교 산학협력단 | System and method for using transportation by mobile |
CN105631651A (en) * | 2015-12-30 | 2016-06-01 | 深圳市点创科技有限公司 | Payment method and system applied to bus |
CN106651337A (en) * | 2016-11-29 | 2017-05-10 | 湖州朗讯信息科技有限公司 | Bus payment method and system |
CN107408248A (en) * | 2015-03-11 | 2017-11-28 | 智能城市网络有限公司 | Utilize the public transport mode of payment and system of beacon |
CN108551651A (en) * | 2018-04-08 | 2018-09-18 | 深圳卡通新技术有限公司 | Bus block meter rate method based on mobile terminal |
CN109685575A (en) * | 2018-12-25 | 2019-04-26 | 杭州琛华科技有限公司 | A kind of public transport driving range metering method and device |
-
2018
- 2018-12-27 CN CN201811604963.7A patent/CN109729493A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103186926A (en) * | 2011-12-27 | 2013-07-03 | 王筱雨 | Method and system for automatic segmented charging for taking bus |
KR20140066884A (en) * | 2012-11-23 | 2014-06-03 | 순천향대학교 산학협력단 | System and method for using transportation by mobile |
CN107408248A (en) * | 2015-03-11 | 2017-11-28 | 智能城市网络有限公司 | Utilize the public transport mode of payment and system of beacon |
CN105631651A (en) * | 2015-12-30 | 2016-06-01 | 深圳市点创科技有限公司 | Payment method and system applied to bus |
CN106651337A (en) * | 2016-11-29 | 2017-05-10 | 湖州朗讯信息科技有限公司 | Bus payment method and system |
CN108551651A (en) * | 2018-04-08 | 2018-09-18 | 深圳卡通新技术有限公司 | Bus block meter rate method based on mobile terminal |
CN109685575A (en) * | 2018-12-25 | 2019-04-26 | 杭州琛华科技有限公司 | A kind of public transport driving range metering method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Ji et al. | Survey on the internet of vehicles: Network architectures and applications | |
CN104021667B (en) | Integrate subscription services and the taxi dispatching system called a taxi in real time and scheduling method | |
CN103198564B (en) | Public transportation system and public transport charging method | |
CN106470236B (en) | Methods, devices and systems of calling a taxi based on mobile terminal | |
TW201303754A (en) | Taxi-calling service management system and server and device thereof | |
CN108332765B (en) | Carpooling travel route generation method and device | |
CN109685577A (en) | A kind of self-service charging method of public transport and device | |
CN109685492A (en) | A kind of public transport mode of payment and device | |
CN103325241A (en) | System and method for passengers waiting for vehicle | |
CN106097702A (en) | Intelligent traffic dispatching method and system | |
CN106250995A (en) | A kind of electric motor coach operation system based on global optimization and method | |
CN106295817A (en) | A kind of for carrying out the method and apparatus dispatched of receiving lodgers in special line transportation system | |
CN110232474A (en) | Lap guard path method, device, server and storage medium | |
CN108881426A (en) | Platform, mobile unit, the vehicles, traffic system and information interacting method | |
CN109740807A (en) | A kind of method and apparatus for estimating the manned quantity of public bus | |
CN105632165A (en) | Intelligent dispatching system based on cloud platform | |
CN204440642U (en) | Public transport electronic station board system | |
CN103533503B (en) | It is a kind of based on photograph to record obtain bus timetable method and system | |
CN109658202A (en) | A kind of self-service method and apparatus by bus based on public transport | |
CN109493629A (en) | A kind of information processing method and device being had the records of distance by the log based on public bus | |
CN109685575A (en) | A kind of public transport driving range metering method and device | |
CN109711584A (en) | A kind of information processing method and device for deploying the manned quantity of public bus | |
CN109729493A (en) | A kind of driving range metering method and device based on public bus | |
CN109711826A (en) | A kind of public transport mode of payment and device | |
CN109635984A (en) | A kind of fare management method and device based on public bus platform |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20190507 |